Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 1956383003: Forwarding POST body into renderer after a cross-site transfer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool is_same_document_history_load) override; 62 bool is_same_document_history_load) override;
63 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, 63 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host,
64 const std::string& unique_name) override; 64 const std::string& unique_name) override;
65 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 65 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
66 const GURL& url, 66 const GURL& url,
67 SiteInstance* source_site_instance, 67 SiteInstance* source_site_instance,
68 const Referrer& referrer, 68 const Referrer& referrer,
69 WindowOpenDisposition disposition, 69 WindowOpenDisposition disposition,
70 bool should_replace_current_entry, 70 bool should_replace_current_entry,
71 bool user_gesture) override; 71 bool user_gesture) override;
72 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, 72 void RequestTransferURL(
73 const GURL& url, 73 RenderFrameHostImpl* render_frame_host,
74 SiteInstance* source_site_instance, 74 const GURL& url,
75 const std::vector<GURL>& redirect_chain, 75 SiteInstance* source_site_instance,
76 const Referrer& referrer, 76 const std::vector<GURL>& redirect_chain,
77 ui::PageTransition page_transition, 77 const Referrer& referrer,
78 const GlobalRequestID& transferred_global_request_id, 78 ui::PageTransition page_transition,
79 bool should_replace_current_entry) override; 79 const GlobalRequestID& transferred_global_request_id,
80 bool should_replace_current_entry,
81 const scoped_refptr<ResourceRequestBody>& resource_request_body) override;
80 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; 82 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override;
81 void OnBeginNavigation(FrameTreeNode* frame_tree_node, 83 void OnBeginNavigation(FrameTreeNode* frame_tree_node,
82 const CommonNavigationParams& common_params, 84 const CommonNavigationParams& common_params,
83 const BeginNavigationParams& begin_params, 85 const BeginNavigationParams& begin_params,
84 scoped_refptr<ResourceRequestBody> body) override; 86 scoped_refptr<ResourceRequestBody> body) override;
85 void FailedNavigation(FrameTreeNode* frame_tree_node, 87 void FailedNavigation(FrameTreeNode* frame_tree_node,
86 bool has_stale_copy_in_cache, 88 bool has_stale_copy_in_cache,
87 int error_code) override; 89 int error_code) override;
88 void LogResourceRequestTime(base::TimeTicks timestamp, 90 void LogResourceRequestTime(base::TimeTicks timestamp,
89 const GURL& url) override; 91 const GURL& url) override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 NavigatorDelegate* delegate_; 153 NavigatorDelegate* delegate_;
152 154
153 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 155 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
154 156
155 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 157 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
156 }; 158 };
157 159
158 } // namespace content 160 } // namespace content
159 161
160 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 162 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698