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/resource_type.h" | 10 #include "content/public/common/resource_type.h" |
| 11 #include "third_party/WebKit/public/platform/WebPageVisibilityState.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 "ui/base/page_transition_types.h" | 13 #include "ui/base/page_transition_types.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 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // Whether this is a download. | 124 // Whether this is a download. |
125 virtual bool IsDownload() const = 0; | 125 virtual bool IsDownload() const = 0; |
126 | 126 |
127 protected: | 127 protected: |
128 virtual ~ResourceRequestInfo() {} | 128 virtual ~ResourceRequestInfo() {} |
129 }; | 129 }; |
130 | 130 |
131 } // namespace content | 131 } // namespace content |
132 | 132 |
133 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 133 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
OLD | NEW |