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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Reordered fields of FrameHostMsg_OpenURL_Params to match order in content::OpenURLParams. 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
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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 #endif 875 #endif
876 876
877 // Requests that the browser process navigates to |url|. If 877 // Requests that the browser process navigates to |url|. If
878 // |is_history_navigation_in_new_child| is true, the browser process should 878 // |is_history_navigation_in_new_child| is true, the browser process should
879 // look for a matching FrameNavigationEntry in the last committed entry to use 879 // look for a matching FrameNavigationEntry in the last committed entry to use
880 // instead of |url|. 880 // instead of |url|.
881 void OpenURL( 881 void OpenURL(
882 const GURL& url, 882 const GURL& url,
883 bool uses_post, 883 bool uses_post,
884 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, 884 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body,
885 const std::string& extra_headers,
885 const Referrer& referrer, 886 const Referrer& referrer,
886 blink::WebNavigationPolicy policy, 887 blink::WebNavigationPolicy policy,
887 bool should_replace_current_entry, 888 bool should_replace_current_entry,
888 bool is_history_navigation_in_new_child); 889 bool is_history_navigation_in_new_child);
889 890
890 // Performs a navigation in the frame. This provides a unified function for 891 // Performs a navigation in the frame. This provides a unified function for
891 // the current code path and the browser-side navigation path (in 892 // the current code path and the browser-side navigation path (in
892 // development). Currently used by OnNavigate, with all *NavigationParams 893 // development). Currently used by OnNavigate, with all *NavigationParams
893 // provided by the browser. |stream_params| should be null. 894 // provided by the browser. |stream_params| should be null.
894 // PlzNavigate: used by OnCommitNavigation, with |common_params| and 895 // PlzNavigate: used by OnCommitNavigation, with |common_params| and
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 remote_associated_interfaces_; 1299 remote_associated_interfaces_;
1299 1300
1300 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1301 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1301 1302
1302 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1303 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1303 }; 1304 };
1304 1305
1305 } // namespace content 1306 } // namespace content
1306 1307
1307 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1308 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698