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

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

Issue 2334623003: Store net::ProxyServer in HttpResponseInfo object (Closed)
Patch Set: Rebased, fix compile error Created 4 years, 2 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_config_test_utils.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
index 23500fb8c90a52460604a4c597eea759fb47f3c6..94425c60ee89b9a80ad86fac2bb4060bcc322c68 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
@@ -23,6 +23,7 @@ class TickClock;
namespace net {
class NetworkQualityEstimator;
class NetLog;
+class ProxyServer;
}
namespace data_reduction_proxy {
@@ -133,7 +134,7 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig {
void(SecureProxyCheckFetchResult result));
MOCK_METHOD2(SetProxyPrefs, void(bool enabled, bool at_startup));
MOCK_CONST_METHOD2(IsDataReductionProxy,
- bool(const net::HostPortPair& host_port_pair,
+ bool(const net::ProxyServer& proxy_server,
DataReductionProxyTypeInfo* proxy_info));
MOCK_CONST_METHOD2(WasDataReductionProxyUsed,
bool(const net::URLRequest*,

Powered by Google App Engine
This is Rietveld 408576698