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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc

Issue 2803813003: Adding a data saver page id to requests and reports (Closed)
Patch Set: bengr nits Created 3 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/browser/data_reduction_proxy_data.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
index 5452658353bd0d7e2ed848d8de32117110b777e7..612a3f02975084094fdee72dfe512989c62a64f3 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_data.cc
@@ -16,6 +16,8 @@ DataReductionProxyData::DataReductionProxyData()
lofi_requested_(false),
effective_connection_type_(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN) {}
+DataReductionProxyData::~DataReductionProxyData() {}
+
std::unique_ptr<DataReductionProxyData> DataReductionProxyData::DeepCopy()
const {
std::unique_ptr<DataReductionProxyData> copy(new DataReductionProxyData());
@@ -24,6 +26,7 @@ std::unique_ptr<DataReductionProxyData> DataReductionProxyData::DeepCopy()
copy->session_key_ = session_key_;
copy->request_url_ = request_url_;
copy->effective_connection_type_ = effective_connection_type_;
+ copy->page_id_ = page_id_;
return copy;
}

Powered by Google App Engine
This is Rietveld 408576698