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

Unified Diff: net/proxy/proxy_script_fetcher_impl.h

Issue 1224343002: Add Net.ProxyScriptFetchSuccessDuration UMA to record how long PAC script fetches take. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename UMA to Net.ProxyScriptFetcher.SuccessDuration Created 5 years, 5 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 | « no previous file | net/proxy/proxy_script_fetcher_impl.cc » ('j') | net/proxy/proxy_script_fetcher_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_script_fetcher_impl.h
diff --git a/net/proxy/proxy_script_fetcher_impl.h b/net/proxy/proxy_script_fetcher_impl.h
index 2afb11651a2fa1181e2fca551779a3073fbb544d..85ad7a08a139a31e6e6619b13538a1152229db39 100644
--- a/net/proxy/proxy_script_fetcher_impl.h
+++ b/net/proxy/proxy_script_fetcher_impl.h
@@ -116,6 +116,9 @@ class NET_EXPORT ProxyScriptFetcherImpl : public ProxyScriptFetcher,
// The maximum amount of time to wait for download to complete.
base::TimeDelta max_duration_;
+ // The time that the fetch started.
+ base::Time fetch_start_time_;
+
// Factory for creating the time-out task. This takes care of revoking
// outstanding tasks when |this| is deleted.
base::WeakPtrFactory<ProxyScriptFetcherImpl> weak_factory_;
« no previous file with comments | « no previous file | net/proxy/proxy_script_fetcher_impl.cc » ('j') | net/proxy/proxy_script_fetcher_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698