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_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/public/common/page_transition_types.h" | 10 #include "content/public/common/page_transition_types.h" |
11 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 11 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
12 #include "webkit/glue/resource_type.h" | 12 #include "webkit/common/resource_type.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class URLRequest; | 15 class URLRequest; |
16 } | 16 } |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class ResourceContext; | 19 class ResourceContext; |
20 | 20 |
21 // Each URLRequest allocated by the ResourceDispatcherHost has a | 21 // Each URLRequest allocated by the ResourceDispatcherHost has a |
22 // ResourceRequestInfo instance associated with it. | 22 // ResourceRequestInfo instance associated with it. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Returns true if this is associated with an asynchronous request. | 99 // Returns true if this is associated with an asynchronous request. |
100 virtual bool IsAsync() const = 0; | 100 virtual bool IsAsync() const = 0; |
101 | 101 |
102 protected: | 102 protected: |
103 virtual ~ResourceRequestInfo() {} | 103 virtual ~ResourceRequestInfo() {} |
104 }; | 104 }; |
105 | 105 |
106 } // namespace content | 106 } // namespace content |
107 | 107 |
108 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 108 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
OLD | NEW |