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

Unified Diff: net/http/http_network_transaction.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 | « net/disk_cache/stats_histogram.h ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
===================================================================
--- net/http/http_network_transaction.cc (revision 10269)
+++ net/http/http_network_transaction.cc (working copy)
@@ -893,10 +893,10 @@
base::TimeDelta duration = base::Time::Now() - response_.request_time;
if (60 < duration.InMinutes())
return;
- UMA_HISTOGRAM_LONG_TIMES(L"Net.Transaction_Latency", duration);
+ UMA_HISTOGRAM_LONG_TIMES("Net.Transaction_Latency", duration);
if (!duration.InMilliseconds())
return;
- UMA_HISTOGRAM_COUNTS(L"Net.Transaction_Bandwidth",
+ UMA_HISTOGRAM_COUNTS("Net.Transaction_Bandwidth",
static_cast<int> (content_read_ / duration.InMilliseconds()));
}
« no previous file with comments | « net/disk_cache/stats_histogram.h ('k') | net/proxy/proxy_resolver_winhttp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698