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 "content/public/common/resource_type.h" |
11 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 12 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
12 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" | 13 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" |
13 #include "webkit/common/resource_type.h" | |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class URLRequest; | 16 class URLRequest; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class ResourceContext; | 20 class ResourceContext; |
21 | 21 |
22 // Each URLRequest allocated by the ResourceDispatcherHost has a | 22 // Each URLRequest allocated by the ResourceDispatcherHost has a |
23 // ResourceRequestInfo instance associated with it. | 23 // ResourceRequestInfo instance associated with it. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // Whether this is a download. | 115 // Whether this is a download. |
116 virtual bool IsDownload() const = 0; | 116 virtual bool IsDownload() const = 0; |
117 | 117 |
118 protected: | 118 protected: |
119 virtual ~ResourceRequestInfo() {} | 119 virtual ~ResourceRequestInfo() {} |
120 }; | 120 }; |
121 | 121 |
122 } // namespace content | 122 } // namespace content |
123 | 123 |
124 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 124 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
OLD | NEW |