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_REQUEST_INFO_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/supports_user_data.h" | 15 #include "base/supports_user_data.h" |
16 #include "content/public/browser/resource_request_info.h" | 16 #include "content/public/browser/resource_request_info.h" |
17 #include "content/public/common/referrer.h" | 17 #include "content/public/common/referrer.h" |
| 18 #include "content/public/common/resource_type.h" |
18 #include "net/base/load_states.h" | 19 #include "net/base/load_states.h" |
19 #include "webkit/common/resource_type.h" | |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class CrossSiteResourceHandler; | 22 class CrossSiteResourceHandler; |
23 class DetachableResourceHandler; | 23 class DetachableResourceHandler; |
24 class ResourceContext; | 24 class ResourceContext; |
25 class ResourceMessageFilter; | 25 class ResourceMessageFilter; |
26 struct GlobalRequestID; | 26 struct GlobalRequestID; |
27 struct GlobalRoutingID; | 27 struct GlobalRoutingID; |
28 | 28 |
29 // Holds the data ResourceDispatcherHost associates with each request. | 29 // Holds the data ResourceDispatcherHost associates with each request. |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // exits during a transfer. | 186 // exits during a transfer. |
187 base::WeakPtr<ResourceMessageFilter> filter_; | 187 base::WeakPtr<ResourceMessageFilter> filter_; |
188 bool is_async_; | 188 bool is_async_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 190 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace content | 193 } // namespace content |
194 | 194 |
195 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 195 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
OLD | NEW |