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

Unified Diff: chrome/renderer/user_script_slave.cc

Issue 28046: Use string for Histogram names since these are all ASCII anyway wide-characte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/ipc_channel_win.cc ('k') | chrome/views/focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/user_script_slave.cc
===================================================================
--- chrome/renderer/user_script_slave.cc (revision 10269)
+++ chrome/renderer/user_script_slave.cc (working copy)
@@ -112,11 +112,11 @@
}
if (location == UserScript::DOCUMENT_START) {
- HISTOGRAM_COUNTS_100(L"UserScripts:DocStart:Count", num_matched);
- HISTOGRAM_TIMES(L"UserScripts:DocStart:Time", timer.Elapsed());
+ HISTOGRAM_COUNTS_100("UserScripts:DocStart:Count", num_matched);
+ HISTOGRAM_TIMES("UserScripts:DocStart:Time", timer.Elapsed());
} else {
- HISTOGRAM_COUNTS_100(L"UserScripts:DocEnd:Count", num_matched);
- HISTOGRAM_TIMES(L"UserScripts:DocEnd:Time", timer.Elapsed());
+ HISTOGRAM_COUNTS_100("UserScripts:DocEnd:Count", num_matched);
+ HISTOGRAM_TIMES("UserScripts:DocEnd:Time", timer.Elapsed());
}
return true;
« no previous file with comments | « chrome/common/ipc_channel_win.cc ('k') | chrome/views/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698