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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h

Issue 2604293002: Do not fetch a new config if one is already in progress. (Closed)
Patch Set: jpfeiff comments Created 3 years, 12 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 | components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
index e9b1332ca59e6eb7f6edc1ce8ba2e131661a25de..c14d723f453f5e313c412bdc8990f6dc281cf65a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
@@ -276,6 +276,9 @@ class DataReductionProxyConfigServiceClient
// Time when the IP address last changed.
base::TimeTicks last_ip_address_change_;
+ // True if a client config fetch is in progress.
+ bool fetch_in_progress_;
+
// Enforce usage on the IO thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698