Clean comments, namespace, and variable names
This CL removes TODOs and email addresses from comments, unifies some namespaces and cleans a few variable names. It is a copy of multiple CLs on the widevine side. Change-Id: I1bb649096476a5001a56d746427399de6a88ff69
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
//
|
||||
// Log - Platform independent interface for a Logging class
|
||||
//
|
||||
#ifndef CDM_BASE_LOG_H_
|
||||
#define CDM_BASE_LOG_H_
|
||||
#ifndef WVCDM_CORE_LOG_H_
|
||||
#define WVCDM_CORE_LOG_H_
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
@@ -17,13 +17,10 @@ typedef enum {
|
||||
LOG_VERBOSE
|
||||
} LogPriority;
|
||||
|
||||
// Required to enable/disable verbose logging (LOGV) in Chromium. In Chromium,
|
||||
// verbose logging level is controlled using command line switches --v (global)
|
||||
// or --vmodule (per module). This function calls logging::InitLogging to
|
||||
// initialize logging, which should have already been included in most Chromium
|
||||
// based binaries. However, it is typically not included by default in
|
||||
// unittests, in particular, the unittests in CDM core need to call InitLogging
|
||||
// to be able to control verbose logging in command line.
|
||||
// Enable/disable verbose logging (LOGV).
|
||||
// This function is supplied for cases where the system layer does not
|
||||
// initialize logging. This is also needed to initialize logging in
|
||||
// unit tests.
|
||||
void InitLogging(int argc, const char* const* argv);
|
||||
|
||||
void Log(const char* file, int line, LogPriority level, const char* fmt, ...);
|
||||
@@ -37,4 +34,4 @@ void Log(const char* file, int line, LogPriority level, const char* fmt, ...);
|
||||
|
||||
}; // namespace wvcdm
|
||||
|
||||
#endif // CDM_BASE_LOG_H_
|
||||
#endif // WVCDM_CORE_LOG_H_
|
||||
|
||||
Reference in New Issue
Block a user