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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_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/common/data_reduction_proxy_params_test_utils.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
index 4a797f039498d94f641483181f745c3f05c70e49..4164f2cc45427102e1c186bb993c5c626aa8ad05 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h
@@ -30,7 +30,7 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
HAS_SSL_ORIGIN = 0x08,
HAS_ALT_ORIGIN = 0x10,
HAS_ALT_FALLBACK_ORIGIN = 0x20,
- HAS_PROBE_URL = 0x40,
+ HAS_SECURE_PROXY_CHECK_URL = 0x40,
HAS_DEV_FALLBACK_ORIGIN = 0x80,
HAS_EVERYTHING = 0xff,
};
@@ -60,14 +60,14 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
static std::string DefaultSSLOrigin();
static std::string DefaultAltOrigin();
static std::string DefaultAltFallbackOrigin();
- static std::string DefaultProbeURL();
+ static std::string DefaultSecureProxyCheckURL();
static std::string FlagOrigin();
static std::string FlagFallbackOrigin();
static std::string FlagSSLOrigin();
static std::string FlagAltOrigin();
static std::string FlagAltFallbackOrigin();
- static std::string FlagProbeURL();
+ static std::string FlagSecureProxyCheckURL();
void set_origin(const net::ProxyServer& origin);
void set_fallback_origin(const net::ProxyServer& fallback_origin);
@@ -87,7 +87,7 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
std::string GetDefaultAltFallbackOrigin() const override;
- std::string GetDefaultProbeURL() const override;
+ std::string GetDefaultSecureProxyCheckURL() const override;
private:
std::string GetDefinition(unsigned int has_def,

Powered by Google App Engine
This is Rietveld 408576698