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

Unified Diff: chrome/browser/jankometer.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/browser/history/text_database_manager.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jankometer.cc
===================================================================
--- chrome/browser/jankometer.cc (revision 10269)
+++ chrome/browser/jankometer.cc (working copy)
@@ -85,10 +85,10 @@
: MaxMessageDelay_(excessive_duration),
slow_processing_counter_(std::string("Chrome.SlowMsg") + thread_name),
queueing_delay_counter_(std::string("Chrome.DelayMsg") + thread_name),
- process_times_((std::wstring(L"Chrome.ProcMsgL ")
- + ASCIIToWide(thread_name)).c_str(), 1, 3600000, 50),
- total_times_((std::wstring(L"Chrome.TotalMsgL ")
- + ASCIIToWide(thread_name)).c_str(), 1, 3600000, 50),
+ process_times_((std::string("Chrome.ProcMsgL ") +
+ thread_name).c_str(), 1, 3600000, 50),
+ total_times_((std::string("Chrome.TotalMsgL ") +
+ thread_name).c_str(), 1, 3600000, 50),
total_time_watchdog_(excessive_duration, thread_name, watchdog_enable) {
process_times_.SetFlags(kUmaTargetedHistogramFlag);
total_times_.SetFlags(kUmaTargetedHistogramFlag);
@@ -227,4 +227,3 @@
io_observer = NULL;
}
}
-
« no previous file with comments | « chrome/browser/history/text_database_manager.cc ('k') | chrome/browser/memory_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698