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:
committed by
John "Juce" Bruce
parent
23c95a1251
commit
0a564039ca
@@ -21,7 +21,7 @@
|
||||
namespace {
|
||||
const uint32_t kUpdateUsageInformationPeriod = 60; // seconds
|
||||
const size_t kUsageReportsPerRequest = 1;
|
||||
} // unnamed namespace
|
||||
} // namespace
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
|
||||
@@ -1004,4 +1004,4 @@ bool CryptoSession::GetMaxNumberOfSessions(size_t* max) {
|
||||
return true;
|
||||
}
|
||||
|
||||
}; // namespace wvcdm
|
||||
} // namespace wvcdm
|
||||
|
||||
@@ -55,7 +55,7 @@ bool Hash(const std::string& data, std::string* hash) {
|
||||
return true;
|
||||
}
|
||||
|
||||
} // unnamed namespace
|
||||
} // namespace
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
|
||||
@@ -503,7 +503,7 @@ bool OEMCrypto_SupportsUsageTable(SecurityLevel level) {
|
||||
return fcn->SupportsUsageTable();
|
||||
}
|
||||
|
||||
}; // namespace wvcdm
|
||||
} // namespace wvcdm
|
||||
|
||||
extern "C" OEMCryptoResult OEMCrypto_Initialize(void) {
|
||||
if (kAdapter) {
|
||||
|
||||
@@ -202,4 +202,4 @@ int64_t ntohll64(int64_t x) { // Convert from big endian (network-byte-order)
|
||||
}
|
||||
}
|
||||
|
||||
}; // namespace wvcdm
|
||||
} // namespace wvcdm
|
||||
|
||||
Reference in New Issue
Block a user