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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove log statement and fix ResponseInfo::DeepCopy Created 5 years, 4 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_network_delegate.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
index c1da2af109ac2a10065195557f96c9f8ab0ee77e..ea8b1661b7a463859591511356231735255eb163 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
@@ -138,6 +138,12 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
DataReductionProxyEventCreator* event_creator_;
+ // Store if the previous state of Lo-Fi was on, so that change in Lo-Fi status
+ // can be recorded properly. This is not recorded for the control group,
+ // because it is only used to report changes in request headers, and the
+ // request headers are never modified in the control group.
+ bool previous_state_lofi_on_;
+
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyNetworkDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698