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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebReferrerP
olicy.h" |
12 #include "webkit/glue/resource_type.h" | 12 #include "webkit/glue/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 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual bool GetAssociatedRenderView(int* render_process_id, | 86 virtual bool GetAssociatedRenderView(int* render_process_id, |
87 int* render_view_id) const = 0; | 87 int* render_view_id) const = 0; |
88 | 88 |
89 protected: | 89 protected: |
90 virtual ~ResourceRequestInfo() {} | 90 virtual ~ResourceRequestInfo() {} |
91 }; | 91 }; |
92 | 92 |
93 } // namespace content | 93 } // namespace content |
94 | 94 |
95 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ | 95 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_REQUEST_INFO_H_ |
OLD | NEW |