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 CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_ANDR
OID_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_ANDR
OID_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_ANDR
OID_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_ANDR
OID_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 13 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
13 #include "chrome/browser/safe_browsing/ui_manager.h" | 14 #include "chrome/browser/safe_browsing/ui_manager.h" |
14 #include "content/public/browser/resource_throttle.h" | 15 #include "content/public/browser/resource_throttle.h" |
15 #include "content/public/common/resource_type.h" | 16 #include "content/public/common/resource_type.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 class ResourceContext; | 19 class ResourceContext; |
19 } // namespace content | 20 } // namespace content |
20 | 21 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 99 |
99 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; | 100 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; |
100 net::URLRequest* request_; | 101 net::URLRequest* request_; |
101 const bool is_subresource_; | 102 const bool is_subresource_; |
102 const bool is_subframe_; | 103 const bool is_subframe_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyResourceThrottle); | 105 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyResourceThrottle); |
105 }; | 106 }; |
106 | 107 |
107 #endif // CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_A
NDROID_H_ | 108 #endif // CHROME_BROWSER_RENDERER_HOST_DATA_REDUCTION_PROXY_RESOURCE_THROTTLE_A
NDROID_H_ |
OLD | NEW |