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 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 bool initiated_in_secure_context); | 72 bool initiated_in_secure_context); |
73 ~ResourceRequestInfoImpl() override; | 73 ~ResourceRequestInfoImpl() override; |
74 | 74 |
75 // ResourceRequestInfo implementation: | 75 // ResourceRequestInfo implementation: |
76 WebContentsGetter GetWebContentsGetterForRequest() const override; | 76 WebContentsGetter GetWebContentsGetterForRequest() const override; |
77 ResourceContext* GetContext() const override; | 77 ResourceContext* GetContext() const override; |
78 int GetChildID() const override; | 78 int GetChildID() const override; |
79 int GetRouteID() const override; | 79 int GetRouteID() const override; |
80 int GetOriginPID() const override; | 80 int GetOriginPID() const override; |
81 int GetRenderFrameID() const override; | 81 int GetRenderFrameID() const override; |
| 82 int GetFrameTreeNodeId() const override; |
82 bool IsMainFrame() const override; | 83 bool IsMainFrame() const override; |
83 bool ParentIsMainFrame() const override; | 84 bool ParentIsMainFrame() const override; |
84 ResourceType GetResourceType() const override; | 85 ResourceType GetResourceType() const override; |
85 int GetProcessType() const override; | 86 int GetProcessType() const override; |
86 blink::WebReferrerPolicy GetReferrerPolicy() const override; | 87 blink::WebReferrerPolicy GetReferrerPolicy() const override; |
87 blink::WebPageVisibilityState GetVisibilityState() const override; | 88 blink::WebPageVisibilityState GetVisibilityState() const override; |
88 ui::PageTransition GetPageTransition() const override; | 89 ui::PageTransition GetPageTransition() const override; |
89 bool HasUserGesture() const override; | 90 bool HasUserGesture() const override; |
90 bool WasIgnoredByHandler() const override; | 91 bool WasIgnoredByHandler() const override; |
91 bool GetAssociatedRenderFrame(int* render_process_id, | 92 bool GetAssociatedRenderFrame(int* render_process_id, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 const std::string original_headers_; | 241 const std::string original_headers_; |
241 scoped_refptr<ResourceRequestBodyImpl> body_; | 242 scoped_refptr<ResourceRequestBodyImpl> body_; |
242 bool initiated_in_secure_context_; | 243 bool initiated_in_secure_context_; |
243 | 244 |
244 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 245 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
245 }; | 246 }; |
246 | 247 |
247 } // namespace content | 248 } // namespace content |
248 | 249 |
249 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 250 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
OLD | NEW |