Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h |
index c7be2e4a30734e5d40814041a1892f43d4bc2209..88dcc11c445c5799d9813b3cf4409ce80496bc97 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h |
@@ -20,6 +20,7 @@ |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h" |
#include "net/base/backoff_entry.h" |
#include "net/log/test_net_log.h" |
+#include "net/url_request/url_request_context_getter.h" |
#include "testing/gmock/include/gmock/gmock.h" |
class TestingPrefServiceSimple; |
@@ -32,7 +33,6 @@ namespace net { |
class MockClientSocketFactory; |
class NetLog; |
class URLRequestContext; |
-class URLRequestContextGetter; |
class URLRequestContextStorage; |
} |
@@ -182,6 +182,11 @@ class TestDataReductionProxyIOData : public DataReductionProxyIOData { |
return config_client_.get(); |
} |
+ void SetSimpleURLRequestContextGetter( |
+ const scoped_refptr<net::URLRequestContextGetter> context_getter) { |
+ basic_url_request_context_getter_ = context_getter; |
+ } |
+ |
base::WeakPtr<DataReductionProxyIOData> GetWeakPtr() { |
return weak_factory_.GetWeakPtr(); |
} |