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

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

Issue 1732213002: Remove DataCompressionProxyDevRollout experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 4 years, 8 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 5f62aee764d595772b7b040aeffe0237c3cc9909..6ee0a7ce5bc7106e271ce37923aae1f74cf8e564 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
@@ -6,8 +6,6 @@
namespace {
// Test values to replace the values specified in preprocessor defines.
-static const char kDefaultDevOrigin[] = "https://dev.net:443";
-static const char kDefaultDevFallbackOrigin[] = "dev.net:80";
static const char kDefaultOrigin[] = "origin.net:80";
static const char kDefaultFallbackOrigin[] = "fallback.net:80";
static const char kDefaultSSLOrigin[] = "ssl.net:1080";
@@ -37,14 +35,6 @@ void TestDataReductionProxyParams::SetProxiesForHttp(
proxies_for_http_ = proxies;
}
// Test values to replace the values specified in preprocessor defines.
-std::string TestDataReductionProxyParams::DefaultDevOrigin() {
- return kDefaultDevOrigin;
-}
-
-std::string TestDataReductionProxyParams::DefaultDevFallbackOrigin() {
- return kDefaultDevFallbackOrigin;
-}
-
std::string TestDataReductionProxyParams::DefaultOrigin() {
return kDefaultOrigin;
}
@@ -77,17 +67,6 @@ std::string TestDataReductionProxyParams::FlagSecureProxyCheckURL() {
return kFlagSecureProxyCheckURL;
}
-std::string TestDataReductionProxyParams::GetDefaultDevOrigin() const {
- return GetDefinition(
- TestDataReductionProxyParams::HAS_DEV_ORIGIN, kDefaultDevOrigin);
-}
-
-std::string TestDataReductionProxyParams::GetDefaultDevFallbackOrigin() const {
- return GetDefinition(
- TestDataReductionProxyParams::HAS_DEV_FALLBACK_ORIGIN,
- kDefaultDevFallbackOrigin);
-}
-
std::string TestDataReductionProxyParams::GetDefaultOrigin() const {
return GetDefinition(
TestDataReductionProxyParams::HAS_ORIGIN, kDefaultOrigin);

Powered by Google App Engine
This is Rietveld 408576698