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

Unified Diff: net/socket/client_socket_pool_histograms.cc

Issue 2423004: Refactored Histogram::FactoryGet() to be style-compliant... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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/histogram_macros.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_pool_histograms.cc
===================================================================
--- net/socket/client_socket_pool_histograms.cc (revision 48734)
+++ net/socket/client_socket_pool_histograms.cc (working copy)
@@ -18,19 +18,19 @@
ClientSocketHandle::NUM_TYPES, ClientSocketHandle::NUM_TYPES + 1,
Histogram::kUmaTargetedHistogramFlag);
// UMA_HISTOGRAM_CUSTOM_TIMES
- request_time_ = Histogram::FactoryGet(
+ request_time_ = Histogram::FactoryTimeGet(
"Net.SocketRequestTime_" + pool_name,
base::TimeDelta::FromMilliseconds(1),
base::TimeDelta::FromMinutes(10),
100, Histogram::kUmaTargetedHistogramFlag);
// UMA_HISTOGRAM_CUSTOM_TIMES
- unused_idle_time_ = Histogram::FactoryGet(
+ unused_idle_time_ = Histogram::FactoryTimeGet(
"Net.SocketIdleTimeBeforeNextUse_UnusedSocket_" + pool_name,
base::TimeDelta::FromMilliseconds(1),
base::TimeDelta::FromMinutes(6),
100, Histogram::kUmaTargetedHistogramFlag);
// UMA_HISTOGRAM_CUSTOM_TIMES
- reused_idle_time_ = Histogram::FactoryGet(
+ reused_idle_time_ = Histogram::FactoryTimeGet(
"Net.SocketIdleTimeBeforeNextUse_ReusedSocket_" + pool_name,
base::TimeDelta::FromMilliseconds(1),
base::TimeDelta::FromMinutes(6),
« no previous file with comments | « net/disk_cache/histogram_macros.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698