Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
index 8dac81b34c17ddf26a710183163e5516b97e7c58..8907c65a4d386c5d2d9144b9de3a76ae29eeb2ae 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc |
@@ -13,7 +13,6 @@ |
#include "base/strings/stringprintf.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h" |
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.h" |
@@ -119,7 +118,8 @@ class DataReductionProxyProtocolTest : public testing::Test { |
// to requests. |
context_->set_http_user_agent_settings(&http_user_agent_settings_); |
usage_stats_.reset(new DataReductionProxyUsageStats( |
- test_context_->config()->params(), test_context_->settings(), |
+ test_context_->config()->params(), |
+ test_context_->data_reduction_proxy_service()->GetWeakPtr(), |
test_context_->task_runner())); |
DataReductionProxyInterceptor* interceptor = |