diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-22 00:37:21 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-22 00:37:21 +0000 |
commit | 7a1c5ab3654723cfe4489e6981dcd67da1489f3f (patch) | |
tree | fca8c695a824dd834b95c29b5f618f6673066a5f /chrome/common | |
parent | f5eddaf87e378c29412a028e027f91d48fbab551 (diff) | |
download | chromium_src-7a1c5ab3654723cfe4489e6981dcd67da1489f3f.zip chromium_src-7a1c5ab3654723cfe4489e6981dcd67da1489f3f.tar.gz chromium_src-7a1c5ab3654723cfe4489e6981dcd67da1489f3f.tar.bz2 |
Remove use of wide characters in stats table identifiers.
Review URL: http://codereview.chromium.org/11544
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_constants.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_constants.h | 2 | ||||
-rw-r--r-- | chrome/common/chrome_counters.cc | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc index 57749a1..b7e9eec 100644 --- a/chrome/common/chrome_constants.cc +++ b/chrome/common/chrome_constants.cc @@ -10,10 +10,10 @@ namespace chrome { const wchar_t kBrowserProcessExecutableName[] = L"chrome.exe"; #if defined(GOOGLE_CHROME_BUILD) const wchar_t kBrowserAppName[] = L"Chrome"; -const wchar_t kStatsFilename[] = L"ChromeStats"; +const char kStatsFilename[] = "ChromeStats"; #else const wchar_t kBrowserAppName[] = L"Chromium"; -const wchar_t kStatsFilename[] = L"ChromiumStats"; +const char kStatsFilename[] = "ChromiumStats"; #endif const wchar_t kExternalTabWindowClass[] = L"Chrome_ExternalTabContainer"; const wchar_t kMessageWindowClass[] = L"Chrome_MessageWindow"; diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h index 46fa329..a838699 100644 --- a/chrome/common/chrome_constants.h +++ b/chrome/common/chrome_constants.h @@ -17,7 +17,7 @@ extern const wchar_t kCrashReportLog[]; extern const wchar_t kTestingInterfaceDLL[]; extern const wchar_t kNotSignedInProfile[]; extern const wchar_t kNotSignedInID[]; -extern const wchar_t kStatsFilename[]; +extern const char kStatsFilename[]; extern const wchar_t kBrowserResourcesDll[]; // filenames diff --git a/chrome/common/chrome_counters.cc b/chrome/common/chrome_counters.cc index 9ac86b8..1e91528 100644 --- a/chrome/common/chrome_counters.cc +++ b/chrome/common/chrome_counters.cc @@ -20,37 +20,37 @@ namespace chrome { // would be it. But these are small objects, so this is ok. StatsCounter& Counters::ipc_send_counter() { - static StatsCounter* ctr = new StatsCounter(L"IPC.SendMsgCount"); + static StatsCounter* ctr = new StatsCounter("IPC.SendMsgCount"); return *ctr; } StatsCounterTimer& Counters::chrome_main() { - static StatsCounterTimer* ctr = new StatsCounterTimer(L"Chrome.Init"); + static StatsCounterTimer* ctr = new StatsCounterTimer("Chrome.Init"); return *ctr; } StatsCounterTimer& Counters::renderer_main() { - static StatsCounterTimer* ctr = new StatsCounterTimer(L"Chrome.RendererInit"); + static StatsCounterTimer* ctr = new StatsCounterTimer("Chrome.RendererInit"); return *ctr; } StatsCounterTimer& Counters::spellcheck_init() { - static StatsCounterTimer* ctr = new StatsCounterTimer(L"SpellCheck.Init"); + static StatsCounterTimer* ctr = new StatsCounterTimer("SpellCheck.Init"); return *ctr; } StatsRate& Counters::spellcheck_lookup() { - static StatsRate* ctr = new StatsRate(L"SpellCheck.Lookup"); + static StatsRate* ctr = new StatsRate("SpellCheck.Lookup"); return *ctr; } StatsCounterTimer& Counters::plugin_load() { - static StatsCounterTimer* ctr = new StatsCounterTimer(L"ChromePlugin.Load"); + static StatsCounterTimer* ctr = new StatsCounterTimer("ChromePlugin.Load"); return *ctr; } StatsRate& Counters::plugin_intercept() { - static StatsRate* ctr = new StatsRate(L"ChromePlugin.Intercept"); + static StatsRate* ctr = new StatsRate("ChromePlugin.Intercept"); return *ctr; } |