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

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

Issue 749793002: Data reduction proxy bypass with test server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years 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 c076356de37bc1c74991a436dcc4f023bf52df6f..713cf3f8cb56e46703bf3452405b8143ad93540b 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
@@ -46,6 +46,9 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
static std::string FlagAltFallbackOrigin();
static std::string FlagProbeURL();
+ void set_origin(const GURL& origin);
+ void set_fallback_origin(const GURL& fallback_origin);
+
protected:
std::string GetDefaultDevOrigin() const override;
@@ -69,7 +72,6 @@ class TestDataReductionProxyParams : public DataReductionProxyParams {
unsigned int has_definitions_;
bool init_result_;
-
};
} // namespace data_reduction_proxy
#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PARAMS_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698