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

Unified Diff: chrome/browser/history/history_backend.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/dom_ui/new_tab_ui.cc ('k') | chrome/browser/history/text_database_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.cc
===================================================================
--- chrome/browser/history/history_backend.cc (revision 10269)
+++ chrome/browser/history/history_backend.cc (working copy)
@@ -567,7 +567,7 @@
// Start expiring old stuff.
expirer_.StartArchivingOldStuff(TimeDelta::FromDays(kArchiveDaysThreshold));
- HISTOGRAM_TIMES(L"History.InitTime",
+ HISTOGRAM_TIMES("History.InitTime",
TimeTicks::Now() - beginning_time);
}
@@ -997,7 +997,7 @@
request->ForwardResult(QueryHistoryRequest::TupleType(request->handle(),
&request->value));
- HISTOGRAM_TIMES(L"History.QueryHistory",
+ HISTOGRAM_TIMES("History.QueryHistory",
TimeTicks::Now() - beginning_time);
}
@@ -1231,7 +1231,7 @@
if (!success)
*data = NULL; // This will tell the callback there was an error.
- HISTOGRAM_TIMES(L"History.GetPageThumbnail",
+ HISTOGRAM_TIMES("History.GetPageThumbnail",
TimeTicks::Now() - beginning_time);
}
}
@@ -1397,7 +1397,7 @@
TimeDelta::FromDays(kFavIconRefetchDays);
}
- HISTOGRAM_TIMES(L"History.GetFavIconForURL",
+ HISTOGRAM_TIMES("History.GetFavIconForURL",
TimeTicks::Now() - beginning_time);
}
@@ -1831,4 +1831,3 @@
}
} // namespace history
-
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/history/text_database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698