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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ResourceContext* context, | 71 ResourceContext* context, |
72 bool report_raw_headers, | 72 bool report_raw_headers, |
73 bool is_async, | 73 bool is_async, |
74 PreviewsState previews_state, | 74 PreviewsState previews_state, |
75 const scoped_refptr<ResourceRequestBodyImpl> body, | 75 const scoped_refptr<ResourceRequestBodyImpl> body, |
76 bool initiated_in_secure_context); | 76 bool initiated_in_secure_context); |
77 ~ResourceRequestInfoImpl() override; | 77 ~ResourceRequestInfoImpl() override; |
78 | 78 |
79 // ResourceRequestInfo implementation: | 79 // ResourceRequestInfo implementation: |
80 WebContentsGetter GetWebContentsGetterForRequest() const override; | 80 WebContentsGetter GetWebContentsGetterForRequest() const override; |
| 81 FrameTreeNodeIdGetter GetFrameTreeNodeIdGetterForRequest() const override; |
81 ResourceContext* GetContext() const override; | 82 ResourceContext* GetContext() const override; |
82 int GetChildID() const override; | 83 int GetChildID() const override; |
83 int GetRouteID() const override; | 84 int GetRouteID() const override; |
84 GlobalRequestID GetGlobalRequestID() const override; | 85 GlobalRequestID GetGlobalRequestID() const override; |
85 int GetOriginPID() const override; | 86 int GetOriginPID() const override; |
86 int GetRenderFrameID() const override; | 87 int GetRenderFrameID() const override; |
87 int GetFrameTreeNodeId() const override; | 88 int GetFrameTreeNodeId() const override; |
88 bool IsMainFrame() const override; | 89 bool IsMainFrame() const override; |
89 bool ParentIsMainFrame() const override; | 90 bool ParentIsMainFrame() const override; |
90 ResourceType GetResourceType() const override; | 91 ResourceType GetResourceType() const override; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // and remote endpoint. This callback will be removed once PlzNavigate is | 243 // and remote endpoint. This callback will be removed once PlzNavigate is |
243 // shipped. | 244 // shipped. |
244 TransferCallback on_transfer_; | 245 TransferCallback on_transfer_; |
245 | 246 |
246 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 247 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
247 }; | 248 }; |
248 | 249 |
249 } // namespace content | 250 } // namespace content |
250 | 251 |
251 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 252 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
OLD | NEW |