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" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 blink::WebReferrerPolicy referrer_policy, | 63 blink::WebReferrerPolicy referrer_policy, |
64 blink::WebPageVisibilityState visibility_state, | 64 blink::WebPageVisibilityState visibility_state, |
65 ResourceContext* context, | 65 ResourceContext* context, |
66 base::WeakPtr<ResourceMessageFilter> filter, | 66 base::WeakPtr<ResourceMessageFilter> filter, |
67 bool report_raw_headers, | 67 bool report_raw_headers, |
68 bool is_async, | 68 bool is_async, |
69 bool is_using_lofi); | 69 bool is_using_lofi); |
70 ~ResourceRequestInfoImpl() override; | 70 ~ResourceRequestInfoImpl() override; |
71 | 71 |
72 // ResourceRequestInfo implementation: | 72 // ResourceRequestInfo implementation: |
| 73 WebContentsGetterOnUI GetWebContentsForRequest() override; |
73 ResourceContext* GetContext() const override; | 74 ResourceContext* GetContext() const override; |
74 int GetChildID() const override; | 75 int GetChildID() const override; |
75 int GetRouteID() const override; | 76 int GetRouteID() const override; |
76 int GetOriginPID() const override; | 77 int GetOriginPID() const override; |
77 int GetRequestID() const override; | 78 int GetRequestID() const override; |
78 int GetRenderFrameID() const override; | 79 int GetRenderFrameID() const override; |
79 bool IsMainFrame() const override; | 80 bool IsMainFrame() const override; |
80 bool ParentIsMainFrame() const override; | 81 bool ParentIsMainFrame() const override; |
81 int GetParentRenderFrameID() const override; | 82 int GetParentRenderFrameID() const override; |
82 ResourceType GetResourceType() const override; | 83 ResourceType GetResourceType() const override; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 bool report_raw_headers_; | 225 bool report_raw_headers_; |
225 bool is_async_; | 226 bool is_async_; |
226 bool is_using_lofi_; | 227 bool is_using_lofi_; |
227 | 228 |
228 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 229 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
229 }; | 230 }; |
230 | 231 |
231 } // namespace content | 232 } // namespace content |
232 | 233 |
233 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 234 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
OLD | NEW |