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

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

Issue 1363673004: [DRP] Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final comments Created 5 years, 2 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/content_lofi_decider.cc
diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider.cc b/components/data_reduction_proxy/content/browser/content_lofi_decider.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6a83c75d90e1d177730e5d7c59c59656c22aab9c
--- /dev/null
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider.cc
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/data_reduction_proxy/content/browser/content_lofi_decider.h"
+
+namespace data_reduction_proxy {
+
+ContentLoFiDecider::ContentLoFiDecider() {}
+
+ContentLoFiDecider::~ContentLoFiDecider() {}
+
+bool ContentLoFiDecider::IsUsingLoFiMode(const net::URLRequest& request) const {
+ // TODO: will be check of ResourceRequestInfo::IsUsingLoFi
+ return false;
+}
+
+} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698