Cleanup namespace ending comment

(This is a merge of http://go/wvgerrit/13400 from the Widevine CDM
repository.)

Replace "};  // namespace" with "}  // namespace":
ag -l --ignore-dir third_party "};  //" | \
while read f; do sed -r -i 's/\};  \/\//}  \/\//' $f ; done

Replace "// unnamed namespace" with "// namespace":
ag -l --ignore-dir third_party "unnamed namespace" | \
while read f; do sed -r -i 's/unnamed namespace/namespace/' $f ; done

Change-Id: I50ece9a127ce669f15cd532dfae1dd741338a075
This commit is contained in:
KongQun Yang
2015-03-09 12:59:16 -07:00
committed by John "Juce" Bruce
parent 23c95a1251
commit 0a564039ca
24 changed files with 24 additions and 25 deletions

View File

@@ -50,7 +50,7 @@ const std::pair<const std::string*, const std::string*> kBase64TestVectors[] = {
make_pair(&kTwoBytesOverData, &kTwoBytesOverB64Data),
make_pair(&kTestData, &kB64TestData)};
} // unnamed namespace
} // namespace
namespace wvcdm {

View File

@@ -59,6 +59,6 @@ class ConfigTestEnv {
CORE_DISALLOW_COPY_AND_ASSIGN(ConfigTestEnv);
};
}; // namespace wvcdm
} // namespace wvcdm
#endif // CDM_TEST_CONFIG_TEST_ENV_H_

View File

@@ -51,6 +51,6 @@ class HttpSocket {
CORE_DISALLOW_COPY_AND_ASSIGN(HttpSocket);
};
}; // namespace wvcdm
} // namespace wvcdm
#endif // CDM_TEST_HTTP_SOCKET_H_

View File

@@ -25,6 +25,6 @@ class LicenseRequest {
CORE_DISALLOW_COPY_AND_ASSIGN(LicenseRequest);
};
}; // namespace wvcdm
} // namespace wvcdm
#endif // CDM_TEST_LICENSE_REQUEST_H_

View File

@@ -40,7 +40,7 @@ int64_t GetLicenseRenewalDelay(int64_t license_duration) {
? license_duration - kLicenseRenewalPeriod
: 0;
}
} // unnamed namespace
} // namespace
namespace wvcdm {

View File

@@ -90,4 +90,4 @@ void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os) {
}
};
}; // namespace wvcdm
} // namespace wvcdm

View File

@@ -14,6 +14,6 @@ void PrintTo(const enum CdmEventType& value, ::std::ostream* os);
void PrintTo(const enum CdmLicenseType& value, ::std::ostream* os);
void PrintTo(const enum CdmSecurityLevel& value, ::std::ostream* os);
void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os);
}; // namespace wvcdm
} // namespace wvcdm
#endif // CDM_TEST_PRINTERS_H_

View File

@@ -34,6 +34,6 @@ class UrlRequest {
CORE_DISALLOW_COPY_AND_ASSIGN(UrlRequest);
};
}; // namespace wvcdm
} // namespace wvcdm
#endif // CDM_TEST_URL_REQUEST_H_