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

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

Issue 2419093002: Revert of Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Manually resolved conflicts with r425338 in navigator_impl.cc. 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,
898 const Referrer& referrer, 897 const Referrer& referrer,
899 blink::WebNavigationPolicy policy, 898 blink::WebNavigationPolicy policy,
900 bool should_replace_current_entry, 899 bool should_replace_current_entry,
901 bool is_history_navigation_in_new_child); 900 bool is_history_navigation_in_new_child);
902 901
903 // Performs a navigation in the frame. This provides a unified function for 902 // Performs a navigation in the frame. This provides a unified function for
904 // the current code path and the browser-side navigation path (in 903 // the current code path and the browser-side navigation path (in
905 // development). Currently used by OnNavigate, with all *NavigationParams 904 // development). Currently used by OnNavigate, with all *NavigationParams
906 // provided by the browser. |stream_params| should be null. 905 // provided by the browser. |stream_params| should be null.
907 // PlzNavigate: used by OnCommitNavigation, with |common_params| and 906 // PlzNavigate: used by OnCommitNavigation, with |common_params| and
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 bool name_changed_before_first_commit_ = false; 1326 bool name_changed_before_first_commit_ = false;
1328 1327
1329 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1330 1329
1331 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1332 }; 1331 };
1333 1332
1334 } // namespace content 1333 } // namespace content
1335 1334
1336 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1335 #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