OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_ |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_H_ |
7 | 7 |
8 #include "components/data_reduction_proxy/core/common/lofi_decider.h" | 8 #include "components/data_reduction_proxy/core/common/lofi_decider.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 bool IsSlowPagePreviewRequested( | 35 bool IsSlowPagePreviewRequested( |
36 const net::HttpRequestHeaders& headers) const override; | 36 const net::HttpRequestHeaders& headers) const override; |
37 bool IsLitePagePreviewRequested( | 37 bool IsLitePagePreviewRequested( |
38 const net::HttpRequestHeaders& headers) const override; | 38 const net::HttpRequestHeaders& headers) const override; |
39 void RemoveAcceptTransformHeader( | 39 void RemoveAcceptTransformHeader( |
40 net::HttpRequestHeaders* headers) const override; | 40 net::HttpRequestHeaders* headers) const override; |
41 void MaybeSetIgnorePreviewsBlacklistDirective( | 41 void MaybeSetIgnorePreviewsBlacklistDirective( |
42 net::HttpRequestHeaders* headers) const override; | 42 net::HttpRequestHeaders* headers) const override; |
43 bool ShouldRecordLoFiUMA(const net::URLRequest& request) const override; | 43 bool ShouldRecordLoFiUMA(const net::URLRequest& request) const override; |
44 bool IsClientLoFiImageRequest(const net::URLRequest& request) const override; | 44 bool IsClientLoFiImageRequest(const net::URLRequest& request) const override; |
| 45 bool IsClientLoFiAutoReloadRequest( |
| 46 const net::URLRequest& request) const override; |
45 | 47 |
46 private: | 48 private: |
47 DISALLOW_COPY_AND_ASSIGN(ContentLoFiDecider); | 49 DISALLOW_COPY_AND_ASSIGN(ContentLoFiDecider); |
48 }; | 50 }; |
49 | 51 |
50 } // namespace data_reduction_proxy | 52 } // namespace data_reduction_proxy |
51 | 53 |
52 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_
H_ | 54 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_LOFI_DECIDER_
H_ |
OLD | NEW |