Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7497)

Unified Diff: chrome/common/logging_chrome.cc

Issue 270062: Use ASCII strings for switch names. (Closed)
Patch Set: victory Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/debug_flags.cc ('k') | chrome/common/sandbox_init_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome.cc
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index ae0b48eacacd77ab1b05f5e8a126412b9a0d5092..323646884c6d1a01ce95403ab4a15e033758a97c 100644
--- a/chrome/common/logging_chrome.cc
+++ b/chrome/common/logging_chrome.cc
@@ -100,12 +100,12 @@ void InitChromeLogging(const CommandLine& command_line,
// only use OutputDebugString in debug mode
#ifdef NDEBUG
bool enable_logging = false;
- const wchar_t *kInvertLoggingSwitch = switches::kEnableLogging;
+ const char *kInvertLoggingSwitch = switches::kEnableLogging;
const logging::LoggingDestination kDefaultLoggingMode =
logging::LOG_ONLY_TO_FILE;
#else
bool enable_logging = true;
- const wchar_t *kInvertLoggingSwitch = switches::kDisableLogging;
+ const char *kInvertLoggingSwitch = switches::kDisableLogging;
const logging::LoggingDestination kDefaultLoggingMode =
logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG;
#endif
« no previous file with comments | « chrome/common/debug_flags.cc ('k') | chrome/common/sandbox_init_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698