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

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

Issue 981633002: Created new URLRequestContext for secure proxy check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved secure proxy check to DRPConfig Created 5 years, 9 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
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 37fbabbd1ebd5a45c29e914e46fe5784835e2233..fe9c31d92bdda456f4a4c1ac479a7d47bbe441ce 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
@@ -24,7 +24,6 @@ namespace net {
class MockClientSocketFactory;
class NetLog;
class URLRequestContext;
-class URLRequestContextGetter;
class URLRequestContextStorage;
}
@@ -45,13 +44,8 @@ class MockDataReductionProxyService : public DataReductionProxyService {
public:
MockDataReductionProxyService(
scoped_ptr<DataReductionProxyStatisticsPrefs> statistics_prefs,
- DataReductionProxySettings* settings,
- net::URLRequestContextGetter* request_context);
- ~MockDataReductionProxyService() override;
-
- MOCK_METHOD2(SecureProxyCheck,
- void(const GURL& secure_proxy_check_url,
- FetcherResponseCallback fetcher_callback));
+ DataReductionProxySettings* settings);
+ ~MockDataReductionProxyService();
};
// Test version of |DataReductionProxyIOData|, which bypasses initialization in

Powered by Google App Engine
This is Rietveld 408576698