Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h |
index fbcbeb15a4695ed908ae5251f91fb98c3b975e6a..6e10058c80386411788b7db8c11687efbedc27c2 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h |
@@ -6,8 +6,8 @@ |
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_USAGE_STATS_H_ |
#include "base/callback.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/prefs/pref_member.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/threading/thread_checker.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h" |
@@ -46,7 +46,7 @@ class DataReductionProxyUsageStats |
// this class instance. |
DataReductionProxyUsageStats( |
DataReductionProxyParams* params, |
- const scoped_refptr<base::MessageLoopProxy>& ui_thread_proxy); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner); |
~DataReductionProxyUsageStats() override; |
// Sets the callback to be called on the UI thread when the unavailability |
@@ -140,7 +140,7 @@ class DataReductionProxyUsageStats |
DataReductionProxyBypassType last_bypass_type_; |
// True if the last request triggered the current bypass. |
bool triggering_request_; |
- const scoped_refptr<base::MessageLoopProxy> ui_thread_proxy_; |
+ const scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; |
// The following 2 fields are used to determine if data reduction proxy is |
// unreachable. We keep a count of requests which should go through |