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

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: rebase and fix experiment control header 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..b7fb0e3e37dd45ff0b2f5e8289640ec78dd23526
--- /dev/null
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider.cc
@@ -0,0 +1,22 @@
+// 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"
+
+#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
bengr 2015/10/12 21:06:41 None of these includes is needed.
megjablon 2015/10/12 23:08:04 Done.
+#include "content/public/browser/resource_request_info.h"
+#include "net/url_request/url_request.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_roxy
bengr 2015/10/12 21:06:41 roxy -> proxy
megjablon 2015/10/12 23:08:04 Done.

Powered by Google App Engine
This is Rietveld 408576698