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

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

Issue 961983002: Rename probe/canary usages to secure proxy check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment 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..9bd8b979522cde5a011ae5d36fb52a6954054524 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
@@ -81,7 +81,8 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig {
DataReductionProxyEventStore* event_store);
~MockDataReductionProxyConfig();
- MOCK_METHOD1(RecordProbeURLFetchResult, void(ProbeURLFetchResult result));
+ MOCK_METHOD1(RecordSecureProxyCheckFetchResult,
+ void(SecureProxyCheckFetchResult result));
MOCK_METHOD3(LogProxyState,
void(bool enabled, bool restricted, bool at_startup));
MOCK_METHOD3(SetProxyPrefs,
@@ -95,10 +96,11 @@ class MockDataReductionProxyConfig : public TestDataReductionProxyConfig {
bool restricted,
bool at_startup) override;
- // HandleProbeResponse should always call RecordProbeURLFetchResult exactly
- // once.
- void HandleProbeResponse(const std::string& response,
- const net::URLRequestStatus& status) override;
+ // HandleSecureProxyCheckResponse should always call
+ // RecordSecureProxyCheckFetchResult exactly once.
+ void HandleSecureProxyCheckResponse(
+ const std::string& response,
+ const net::URLRequestStatus& status) override;
};
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698