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

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

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 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_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); 485 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
486 void DidCancelPopupMenu(); 486 void DidCancelPopupMenu();
487 #endif 487 #endif
488 488
489 // PlzNavigate: Indicates that a navigation is ready to commit and can be 489 // PlzNavigate: Indicates that a navigation is ready to commit and can be
490 // handled by this RenderFrame. 490 // handled by this RenderFrame.
491 void CommitNavigation(ResourceResponse* response, 491 void CommitNavigation(ResourceResponse* response,
492 std::unique_ptr<StreamHandle> body, 492 std::unique_ptr<StreamHandle> body,
493 const CommonNavigationParams& common_params, 493 const CommonNavigationParams& common_params,
494 const RequestNavigationParams& request_params, 494 const RequestNavigationParams& request_params,
495 bool is_view_source); 495 bool is_view_source,
496 scoped_refptr<ResourceRequestBody> post_data);
496 497
497 // PlzNavigate 498 // PlzNavigate
498 // Indicates that a navigation failed and that this RenderFrame should display 499 // Indicates that a navigation failed and that this RenderFrame should display
499 // an error page. 500 // an error page.
500 void FailedNavigation(const CommonNavigationParams& common_params, 501 void FailedNavigation(const CommonNavigationParams& common_params,
501 const RequestNavigationParams& request_params, 502 const RequestNavigationParams& request_params,
502 bool has_stale_copy_in_cache, 503 bool has_stale_copy_in_cache,
503 int error_code); 504 int error_code);
504 505
505 // Sets up the Mojo connection between this instance and its associated render 506 // Sets up the Mojo connection between this instance and its associated render
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 974
974 // NOTE: This must be the last member. 975 // NOTE: This must be the last member.
975 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 976 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
976 977
977 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 978 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
978 }; 979 };
979 980
980 } // namespace content 981 } // namespace content
981 982
982 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 983 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698