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

Unified Diff: chrome/browser/renderer_host/buffered_resource_handler.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/net/dns_master.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/buffered_resource_handler.cc
===================================================================
--- chrome/browser/renderer_host/buffered_resource_handler.cc (revision 10269)
+++ chrome/browser/renderer_host/buffered_resource_handler.cc (working copy)
@@ -20,16 +20,16 @@
void RecordSnifferMetrics(bool sniffing_blocked,
bool we_would_like_to_sniff,
const std::string& mime_type) {
- static BooleanHistogram nosniff_usage(L"nosniff.usage");
+ static BooleanHistogram nosniff_usage("nosniff.usage");
nosniff_usage.SetFlags(kUmaTargetedHistogramFlag);
nosniff_usage.AddBoolean(sniffing_blocked);
if (sniffing_blocked) {
- static BooleanHistogram nosniff_otherwise(L"nosniff.otherwise");
+ static BooleanHistogram nosniff_otherwise("nosniff.otherwise");
nosniff_otherwise.SetFlags(kUmaTargetedHistogramFlag);
nosniff_otherwise.AddBoolean(we_would_like_to_sniff);
- static BooleanHistogram nosniff_empty_mime_type(L"nosniff.empty_mime_type");
+ static BooleanHistogram nosniff_empty_mime_type("nosniff.empty_mime_type");
nosniff_empty_mime_type.SetFlags(kUmaTargetedHistogramFlag);
nosniff_empty_mime_type.AddBoolean(mime_type.empty());
}
« no previous file with comments | « chrome/browser/net/dns_master.cc ('k') | chrome/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698