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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc

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.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
index c60027032dd7ea53ea0b1524d967e0d29736ce2b..632ca2be35cf833453a637e073c34f01c106cde5 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc
@@ -13,14 +13,14 @@ static const char kDefaultFallbackOrigin[] = "fallback.net:80";
static const char kDefaultSSLOrigin[] = "ssl.net:1080";
static const char kDefaultAltOrigin[] = "https://alt.net:443";
static const char kDefaultAltFallbackOrigin[] = "altfallback.net:80";
-static const char kDefaultProbeURL[] = "http://probe.net/";
+static const char kDefaultSecureProxyCheckURL[] = "http://proxycheck.net/";
static const char kFlagOrigin[] = "https://origin.org:443";
static const char kFlagFallbackOrigin[] = "fallback.org:80";
static const char kFlagSSLOrigin[] = "ssl.org:1080";
static const char kFlagAltOrigin[] = "https://alt.org:443";
static const char kFlagAltFallbackOrigin[] = "altfallback.org:80";
-static const char kFlagProbeURL[] = "http://probe.org/";
+static const char kFlagSecureProxyCheckURL[] = "http://proxycheck.org/";
}
namespace data_reduction_proxy {
@@ -104,8 +104,8 @@ std::string TestDataReductionProxyParams::DefaultAltFallbackOrigin() {
return kDefaultAltFallbackOrigin;
}
-std::string TestDataReductionProxyParams::DefaultProbeURL() {
- return kDefaultProbeURL;
+std::string TestDataReductionProxyParams::DefaultSecureProxyCheckURL() {
+ return kDefaultSecureProxyCheckURL;
}
std::string TestDataReductionProxyParams::FlagOrigin() {
@@ -128,8 +128,8 @@ std::string TestDataReductionProxyParams::FlagAltFallbackOrigin() {
return kFlagAltFallbackOrigin;
}
-std::string TestDataReductionProxyParams::FlagProbeURL() {
- return kFlagProbeURL;
+std::string TestDataReductionProxyParams::FlagSecureProxyCheckURL() {
+ return kFlagSecureProxyCheckURL;
}
void TestDataReductionProxyParams::set_origin(const net::ProxyServer& origin) {
@@ -179,9 +179,11 @@ std::string TestDataReductionProxyParams::GetDefaultAltFallbackOrigin() const {
kDefaultAltFallbackOrigin);
}
-std::string TestDataReductionProxyParams::GetDefaultProbeURL() const {
+std::string TestDataReductionProxyParams::GetDefaultSecureProxyCheckURL()
+ const {
return GetDefinition(
- TestDataReductionProxyParams::HAS_PROBE_URL, kDefaultProbeURL);
+ TestDataReductionProxyParams::HAS_SECURE_PROXY_CHECK_URL,
+ kDefaultSecureProxyCheckURL);
}
std::string TestDataReductionProxyParams::GetDefinition(

Powered by Google App Engine
This is Rietveld 408576698