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

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 separate class. Addressed comments. 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 df1b2c04b3bb42d0f7852e4086bd342e5cc995ba..9d3b4d753426893a19e29661f62a26099e2ab7dd 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
@@ -32,7 +32,6 @@ namespace net {
class MockClientSocketFactory;
class NetLog;
class URLRequestContext;
-class URLRequestContextGetter;
class URLRequestContextStorage;
}
@@ -156,13 +155,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