Merge "Cleanup namespace ending comment"
This commit is contained in:
@@ -19,6 +19,6 @@ class Clock {
|
|||||||
virtual int64_t GetCurrentTime();
|
virtual int64_t GetCurrentTime();
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_CLOCK_H_
|
#endif // WVCDM_CORE_CLOCK_H_
|
||||||
|
|||||||
@@ -35,6 +35,6 @@ class CryptoKey {
|
|||||||
std::string key_control_iv_;
|
std::string key_control_iv_;
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_CRYPTO_KEY_H_
|
#endif // WVCDM_CORE_CRYPTO_KEY_H_
|
||||||
|
|||||||
@@ -138,6 +138,6 @@ class CryptoSession {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(CryptoSession);
|
CORE_DISALLOW_COPY_AND_ASSIGN(CryptoSession);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_CRYPTO_SESSSION_H_
|
#endif // WVCDM_CORE_CRYPTO_SESSSION_H_
|
||||||
|
|||||||
@@ -50,6 +50,6 @@ class AutoLock {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(AutoLock);
|
CORE_DISALLOW_COPY_AND_ASSIGN(AutoLock);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_LOCK_H_
|
#endif // WVCDM_CORE_LOCK_H_
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ void Log(const char* file, int line, LogPriority level, const char* fmt, ...);
|
|||||||
#define LOGD(...) Log(__FILE__, __LINE__, wvcdm::LOG_DEBUG, __VA_ARGS__)
|
#define LOGD(...) Log(__FILE__, __LINE__, wvcdm::LOG_DEBUG, __VA_ARGS__)
|
||||||
#define LOGV(...) Log(__FILE__, __LINE__, wvcdm::LOG_VERBOSE, __VA_ARGS__)
|
#define LOGV(...) Log(__FILE__, __LINE__, wvcdm::LOG_VERBOSE, __VA_ARGS__)
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_LOG_H_
|
#endif // WVCDM_CORE_LOG_H_
|
||||||
|
|||||||
@@ -60,6 +60,6 @@ class scoped_ptr {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(scoped_ptr);
|
CORE_DISALLOW_COPY_AND_ASSIGN(scoped_ptr);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_SCOPED_PTR_H_
|
#endif // WVCDM_CORE_SCOPED_PTR_H_
|
||||||
|
|||||||
@@ -24,6 +24,6 @@ std::string UintToString(unsigned int value);
|
|||||||
int64_t htonll64(int64_t x);
|
int64_t htonll64(int64_t x);
|
||||||
int64_t ntohll64(int64_t x);
|
int64_t ntohll64(int64_t x);
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_STRING_CONVERSIONS_H_
|
#endif // WVCDM_CORE_STRING_CONVERSIONS_H_
|
||||||
|
|||||||
@@ -46,6 +46,6 @@ class Timer {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(Timer);
|
CORE_DISALLOW_COPY_AND_ASSIGN(Timer);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // WVCDM_CORE_TIMER_H_
|
#endif // WVCDM_CORE_TIMER_H_
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
namespace {
|
namespace {
|
||||||
const uint32_t kUpdateUsageInformationPeriod = 60; // seconds
|
const uint32_t kUpdateUsageInformationPeriod = 60; // seconds
|
||||||
const size_t kUsageReportsPerRequest = 1;
|
const size_t kUsageReportsPerRequest = 1;
|
||||||
} // unnamed namespace
|
} // namespace
|
||||||
|
|
||||||
namespace wvcdm {
|
namespace wvcdm {
|
||||||
|
|
||||||
|
|||||||
@@ -1004,4 +1004,4 @@ bool CryptoSession::GetMaxNumberOfSessions(size_t* max) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ bool Hash(const std::string& data, std::string* hash) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // unnamed namespace
|
} // namespace
|
||||||
|
|
||||||
namespace wvcdm {
|
namespace wvcdm {
|
||||||
|
|
||||||
|
|||||||
@@ -503,7 +503,7 @@ bool OEMCrypto_SupportsUsageTable(SecurityLevel level) {
|
|||||||
return fcn->SupportsUsageTable();
|
return fcn->SupportsUsageTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
extern "C" OEMCryptoResult OEMCrypto_Initialize(void) {
|
extern "C" OEMCryptoResult OEMCrypto_Initialize(void) {
|
||||||
if (kAdapter) {
|
if (kAdapter) {
|
||||||
|
|||||||
@@ -202,4 +202,4 @@ int64_t ntohll64(int64_t x) { // Convert from big endian (network-byte-order)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const std::pair<const std::string*, const std::string*> kBase64TestVectors[] = {
|
|||||||
make_pair(&kTwoBytesOverData, &kTwoBytesOverB64Data),
|
make_pair(&kTwoBytesOverData, &kTwoBytesOverB64Data),
|
||||||
make_pair(&kTestData, &kB64TestData)};
|
make_pair(&kTestData, &kB64TestData)};
|
||||||
|
|
||||||
} // unnamed namespace
|
} // namespace
|
||||||
|
|
||||||
namespace wvcdm {
|
namespace wvcdm {
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,6 @@ class ConfigTestEnv {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(ConfigTestEnv);
|
CORE_DISALLOW_COPY_AND_ASSIGN(ConfigTestEnv);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // CDM_TEST_CONFIG_TEST_ENV_H_
|
#endif // CDM_TEST_CONFIG_TEST_ENV_H_
|
||||||
|
|||||||
@@ -51,6 +51,6 @@ class HttpSocket {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(HttpSocket);
|
CORE_DISALLOW_COPY_AND_ASSIGN(HttpSocket);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // CDM_TEST_HTTP_SOCKET_H_
|
#endif // CDM_TEST_HTTP_SOCKET_H_
|
||||||
|
|||||||
@@ -25,6 +25,6 @@ class LicenseRequest {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(LicenseRequest);
|
CORE_DISALLOW_COPY_AND_ASSIGN(LicenseRequest);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // CDM_TEST_LICENSE_REQUEST_H_
|
#endif // CDM_TEST_LICENSE_REQUEST_H_
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ int64_t GetLicenseRenewalDelay(int64_t license_duration) {
|
|||||||
? license_duration - kLicenseRenewalPeriod
|
? license_duration - kLicenseRenewalPeriod
|
||||||
: 0;
|
: 0;
|
||||||
}
|
}
|
||||||
} // unnamed namespace
|
} // namespace
|
||||||
|
|
||||||
namespace wvcdm {
|
namespace wvcdm {
|
||||||
|
|
||||||
|
|||||||
@@ -90,4 +90,4 @@ void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|||||||
@@ -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 CdmLicenseType& value, ::std::ostream* os);
|
||||||
void PrintTo(const enum CdmSecurityLevel& value, ::std::ostream* os);
|
void PrintTo(const enum CdmSecurityLevel& value, ::std::ostream* os);
|
||||||
void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os);
|
void PrintTo(const enum CdmCertificateType& value, ::std::ostream* os);
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // CDM_TEST_PRINTERS_H_
|
#endif // CDM_TEST_PRINTERS_H_
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ class UrlRequest {
|
|||||||
CORE_DISALLOW_COPY_AND_ASSIGN(UrlRequest);
|
CORE_DISALLOW_COPY_AND_ASSIGN(UrlRequest);
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
#endif // CDM_TEST_URL_REQUEST_H_
|
#endif // CDM_TEST_URL_REQUEST_H_
|
||||||
|
|||||||
@@ -15,5 +15,4 @@ int64_t Clock::GetCurrentTime() {
|
|||||||
return tv.tv_sec;
|
return tv.tv_sec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace wvcdm
|
||||||
}; // namespace wvcdm
|
|
||||||
|
|||||||
@@ -31,6 +31,6 @@ bool Lock::Try() {
|
|||||||
return (impl_->lock_.tryLock() == 0);
|
return (impl_->lock_.tryLock() == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -52,4 +52,4 @@ void Log(const char* file, int line, LogPriority level, const char* fmt, ...) {
|
|||||||
__android_log_write(prio, LOG_TAG, buf);
|
__android_log_write(prio, LOG_TAG, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace wvcdm
|
} // namespace wvcdm
|
||||||
|
|||||||
Reference in New Issue
Block a user