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

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: Simplified AreExtraHeadersCompatibleWithPrerenderContents as suggested by mmenke@. 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 bool success); 882 bool success);
883 883
884 // Requests that the browser process navigates to |url|. If 884 // Requests that the browser process navigates to |url|. If
885 // |is_history_navigation_in_new_child| is true, the browser process should 885 // |is_history_navigation_in_new_child| is true, the browser process should
886 // look for a matching FrameNavigationEntry in the last committed entry to use 886 // look for a matching FrameNavigationEntry in the last committed entry to use
887 // instead of |url|. 887 // instead of |url|.
888 void OpenURL( 888 void OpenURL(
889 const GURL& url, 889 const GURL& url,
890 bool uses_post, 890 bool uses_post,
891 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, 891 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body,
892 const std::string& extra_headers,
892 const Referrer& referrer, 893 const Referrer& referrer,
893 blink::WebNavigationPolicy policy, 894 blink::WebNavigationPolicy policy,
894 bool should_replace_current_entry, 895 bool should_replace_current_entry,
895 bool is_history_navigation_in_new_child); 896 bool is_history_navigation_in_new_child);
896 897
897 // Performs a navigation in the frame. This provides a unified function for 898 // Performs a navigation in the frame. This provides a unified function for
898 // the current code path and the browser-side navigation path (in 899 // the current code path and the browser-side navigation path (in
899 // development). Currently used by OnNavigate, with all *NavigationParams 900 // development). Currently used by OnNavigate, with all *NavigationParams
900 // provided by the browser. |stream_params| should be null. 901 // provided by the browser. |stream_params| should be null.
901 // PlzNavigate: used by OnCommitNavigation, with |common_params| and 902 // PlzNavigate: used by OnCommitNavigation, with |common_params| and
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 bool name_changed_before_first_commit_ = false; 1310 bool name_changed_before_first_commit_ = false;
1310 1311
1311 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1312 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1312 1313
1313 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1314 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1314 }; 1315 };
1315 1316
1316 } // namespace content 1317 } // namespace content
1317 1318
1318 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1319 #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