OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "content/browser/loader/resource_controller.h" |
14 #include "content/browser/ssl/ssl_client_auth_handler.h" | 15 #include "content/browser/ssl/ssl_client_auth_handler.h" |
15 #include "content/browser/ssl/ssl_error_handler.h" | 16 #include "content/browser/ssl/ssl_error_handler.h" |
16 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
17 #include "content/public/browser/resource_controller.h" | |
18 #include "net/url_request/url_request.h" | 18 #include "net/url_request/url_request.h" |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 class X509Certificate; | 21 class X509Certificate; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class ResourceDispatcherHostLoginDelegate; | 25 class ResourceDispatcherHostLoginDelegate; |
26 class ResourceHandler; | 26 class ResourceHandler; |
27 class ResourceLoaderDelegate; | 27 class ResourceLoaderDelegate; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 int times_cancelled_after_request_start_; | 141 int times_cancelled_after_request_start_; |
142 | 142 |
143 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; | 143 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; |
144 | 144 |
145 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); | 145 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); |
146 }; | 146 }; |
147 | 147 |
148 } // namespace content | 148 } // namespace content |
149 | 149 |
150 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ | 150 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ |
OLD | NEW |