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

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

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 67d6591632847556eb5b221cb0e9060c493901ec..8628d882874e9e535e7fc603433e0569643d7388 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
@@ -88,6 +88,9 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig {
void(bool enabled, bool alternative_enabled, bool at_startup));
MOCK_METHOD1(ContainsDataReductionProxy,
bool(const net::ProxyConfig::ProxyRules& proxy_rules));
+ MOCK_CONST_METHOD2(IsDataReductionProxy,
+ bool(const net::HostPortPair& host_port_pair,
+ DataReductionProxyTypeInfo* proxy_info));
// UpdateConfigurator should always call LogProxyState exactly once.
void UpdateConfigurator(bool enabled,

Powered by Google App Engine
This is Rietveld 408576698