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

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes 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/content/browser/data_reduction_proxy_message_filter.cc
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc
index 7fbb47b28f1b9eece3e365049e29ff0dfe84ffa6..e8820c346d3eaecff685fd4452433f62d7a94092 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_message_filter.cc
@@ -45,18 +45,13 @@ void DataReductionProxyMessageFilter::OverrideThreadForMessage(
void DataReductionProxyMessageFilter::OnDataReductionProxyStatus(
const net::HostPortPair& proxy_server,
- bool* is_data_reduction_proxy,
- LoFiStatus* lofi_status) {
+ bool* is_data_reduction_proxy) {
DCHECK(is_data_reduction_proxy);
- DCHECK(lofi_status);
*is_data_reduction_proxy = false;
- *lofi_status = LOFI_STATUS_TEMPORARILY_OFF;
if (!config_)
return;
*is_data_reduction_proxy =
config_->IsDataReductionProxy(proxy_server, nullptr);
- if (*is_data_reduction_proxy)
- *lofi_status = config_->GetLoFiStatus();
}
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698