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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.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.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index ade942dac9439f2dcf3dcf4b49f63ef3ab1e09e0..8d23e0b682682f4e39f092a237ed8aad400ace56 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -280,6 +280,10 @@ class DataReductionProxyParams {
virtual std::string GetDefaultProbeURL() const;
virtual std::string GetDefaultWarmupURL() const;
+ protected:
+ GURL origin_;
+ GURL fallback_origin_;
+
private:
// Checks if the primary and fallback data reduction proxies are in the retry
// map. Returns true if the request is bypassed by both data reduction
@@ -293,8 +297,6 @@ class DataReductionProxyParams {
DataReductionProxyParams& operator=(const DataReductionProxyParams& params);
- GURL origin_;
- GURL fallback_origin_;
GURL ssl_origin_;
GURL alt_origin_;
GURL alt_fallback_origin_;

Powered by Google App Engine
This is Rietveld 408576698