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

Side by Side Diff: components/data_reduction_proxy/content/browser/content_lofi_decider.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_
7
8 #include "components/data_reduction_proxy/core/common/lofi_decider.h"
9 #include "base/macros.h"
10
11 namespace net {
12 class URLRequest;
13 }
14
15 namespace data_reduction_proxy {
16
17 // Handles getting if a request is in Lo-Fi mode.
bengr 2015/10/12 21:06:41 How about: // Class responsible for deciding whet
megjablon 2015/10/12 23:08:04 Done.
18 class ContentLoFiDecider : public LoFiDecider {
19 public:
20 ContentLoFiDecider();
21 ~ContentLoFiDecider() override;
22
23 bool IsUsingLoFiMode(const net::URLRequest& request) const override;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(ContentLoFiDecider);
27 };
28
29 } // namespace data_reduction_proxy
30
31 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698