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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_params.cc

Issue 412143009: Moved data reduction proxy initialization logic to ProfileImplIOData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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.cc
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
index 7bba0edf1c66a1f8c210ea0f7212547769bbcd58..174b05003376fb90a35f8e1c0bc2ad2c355620dd 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc
@@ -68,6 +68,23 @@ DataReductionProxyParams::DataReductionProxyParams(int flags)
DCHECK(result);
}
+DataReductionProxyParams::DataReductionProxyParams(
+ const DataReductionProxyParams& other)
+ : origin_(other.origin_),
+ fallback_origin_(other.fallback_origin_),
+ ssl_origin_(other.ssl_origin_),
+ alt_origin_(other.alt_origin_),
+ alt_fallback_origin_(other.alt_fallback_origin_),
+ probe_url_(other.probe_url_),
+ warmup_url_(other.warmup_url_),
+ allowed_(other.allowed_),
+ fallback_allowed_(other.fallback_allowed_),
+ alt_allowed_(other.alt_allowed_),
+ promo_allowed_(other.promo_allowed_),
+ holdback_(other.holdback_),
+ configured_on_command_line_(other.configured_on_command_line_) {
+}
+
DataReductionProxyParams::~DataReductionProxyParams() {
}

Powered by Google App Engine
This is Rietveld 408576698