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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h

Issue 549153003: Dev finch trial of the data reduction proxy overrides both the primary and the fallback hosts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments. Created 6 years, 3 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/browser/data_reduction_proxy_params_test_utils.h
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h b/components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h
index df804bfe0428a4d54800347221f7ac05c2e83e33..c0427edf5a792750c34ed3e61845cc48a6b9f25d 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h
@@ -21,6 +21,7 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
HAS_ALT_ORIGIN = 0x10,
HAS_ALT_FALLBACK_ORIGIN = 0x20,
HAS_PROBE_URL = 0x40,
+ HAS_DEV_FALLBACK_ORIGIN = 0x80,
HAS_EVERYTHING = 0xff,
};
@@ -30,6 +31,7 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
// Test values to replace the values specified in preprocessor defines.
static std::string DefaultDevOrigin();
+ static std::string DefaultDevFallbackOrigin();
static std::string DefaultOrigin();
static std::string DefaultFallbackOrigin();
static std::string DefaultSSLOrigin();
@@ -47,6 +49,8 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
protected:
virtual std::string GetDefaultDevOrigin() const OVERRIDE;
+ virtual std::string GetDefaultDevFallbackOrigin() const OVERRIDE;
+
virtual std::string GetDefaultOrigin() const OVERRIDE;
virtual std::string GetDefaultFallbackOrigin() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698