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

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

Issue 1363673004: [DRP] Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_data_reduction_proxy_lofi_helper.cc
diff --git a/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_lofi_helper.cc b/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_lofi_helper.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a6ebb262139a132c1c87ce54264dfadc4ce784b6
--- /dev/null
+++ b/components/data_reduction_proxy/content/browser/content_data_reduction_proxy_lofi_helper.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_data_reduction_proxy_lofi_helper.h"
+
+#include "content/public/browser/resource_request_info.h"
+#include "net/url_request/url_request.h"
+
+namespace data_reduction_proxy {
+
+ContentDataReductionProxyLoFiHelper::ContentDataReductionProxyLoFiHelper() {}
+
+ContentDataReductionProxyLoFiHelper::~ContentDataReductionProxyLoFiHelper() {}
+
+bool ContentDataReductionProxyLoFiHelper::IsLoFi(
+ net::URLRequest* request) const {
+ // TODO: return IsLoFi from ResourceRequestInfo.
+ return false;
+}
+
+} // namespace data_reduction_roxy

Powered by Google App Engine
This is Rietveld 408576698