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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2423233002: Preserving extra http request headers in OpenURL navigation path [relanding]. (Closed)
Patch Set: This patchset is copied from https://crrev.com/2355023002 Created 4 years, 2 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 bool success); 887 bool success);
888 888
889 // Requests that the browser process navigates to |url|. If 889 // Requests that the browser process navigates to |url|. If
890 // |is_history_navigation_in_new_child| is true, the browser process should 890 // |is_history_navigation_in_new_child| is true, the browser process should
891 // look for a matching FrameNavigationEntry in the last committed entry to use 891 // look for a matching FrameNavigationEntry in the last committed entry to use
892 // instead of |url|. 892 // instead of |url|.
893 void OpenURL( 893 void OpenURL(
894 const GURL& url, 894 const GURL& url,
895 bool uses_post, 895 bool uses_post,
896 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, 896 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body,
897 const std::string& extra_headers,
897 const Referrer& referrer, 898 const Referrer& referrer,
898 blink::WebNavigationPolicy policy, 899 blink::WebNavigationPolicy policy,
899 bool should_replace_current_entry, 900 bool should_replace_current_entry,
900 bool is_history_navigation_in_new_child); 901 bool is_history_navigation_in_new_child);
901 902
902 // Performs a navigation in the frame. This provides a unified function for 903 // Performs a navigation in the frame. This provides a unified function for
903 // the current code path and the browser-side navigation path (in 904 // the current code path and the browser-side navigation path (in
904 // development). Currently used by OnNavigate, with all *NavigationParams 905 // development). Currently used by OnNavigate, with all *NavigationParams
905 // provided by the browser. |stream_params| should be null. 906 // provided by the browser. |stream_params| should be null.
906 // PlzNavigate: used by OnCommitNavigation, with |common_params| and 907 // PlzNavigate: used by OnCommitNavigation, with |common_params| and
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 bool name_changed_before_first_commit_ = false; 1327 bool name_changed_before_first_commit_ = false;
1327 1328
1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1329 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1329 1330
1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1331 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1331 }; 1332 };
1332 1333
1333 } // namespace content 1334 } // namespace content
1334 1335
1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1336 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698