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

@@ -21,7 +21,7 @@
namespace {
const uint32_t kUpdateUsageInformationPeriod = 60; // seconds
const size_t kUsageReportsPerRequest = 1;
} // unnamed namespace
} // namespace
namespace wvcdm {

View File

@@ -1004,4 +1004,4 @@ bool CryptoSession::GetMaxNumberOfSessions(size_t* max) {
return true;
}
}; // namespace wvcdm
} // namespace wvcdm

View File

@@ -55,7 +55,7 @@ bool Hash(const std::string& data, std::string* hash) {
return true;
}
} // unnamed namespace
} // namespace
namespace wvcdm {

View File

@@ -503,7 +503,7 @@ bool OEMCrypto_SupportsUsageTable(SecurityLevel level) {
return fcn->SupportsUsageTable();
}
}; // namespace wvcdm
} // namespace wvcdm
extern "C" OEMCryptoResult OEMCrypto_Initialize(void) {
if (kAdapter) {

View File

@@ -202,4 +202,4 @@ int64_t ntohll64(int64_t x) { // Convert from big endian (network-byte-order)
}
}
}; // namespace wvcdm
} // namespace wvcdm