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

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: Rebase + 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); 495 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
496 void DidCancelPopupMenu(); 496 void DidCancelPopupMenu();
497 #endif 497 #endif
498 498
499 // PlzNavigate: Indicates that a navigation is ready to commit and can be 499 // PlzNavigate: Indicates that a navigation is ready to commit and can be
500 // handled by this RenderFrame. 500 // handled by this RenderFrame.
501 void CommitNavigation(ResourceResponse* response, 501 void CommitNavigation(ResourceResponse* response,
502 std::unique_ptr<StreamHandle> body, 502 std::unique_ptr<StreamHandle> body,
503 const CommonNavigationParams& common_params, 503 const CommonNavigationParams& common_params,
504 const RequestNavigationParams& request_params, 504 const RequestNavigationParams& request_params,
505 bool is_view_source); 505 bool is_view_source,
506 scoped_refptr<ResourceRequestBody> post_data);
506 507
507 // PlzNavigate 508 // PlzNavigate
508 // Indicates that a navigation failed and that this RenderFrame should display 509 // Indicates that a navigation failed and that this RenderFrame should display
509 // an error page. 510 // an error page.
510 void FailedNavigation(const CommonNavigationParams& common_params, 511 void FailedNavigation(const CommonNavigationParams& common_params,
511 const RequestNavigationParams& request_params, 512 const RequestNavigationParams& request_params,
512 bool has_stale_copy_in_cache, 513 bool has_stale_copy_in_cache,
513 int error_code); 514 int error_code);
514 515
515 // Sets up the Mojo connection between this instance and its associated render 516 // Sets up the Mojo connection between this instance and its associated render
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 991
991 // NOTE: This must be the last member. 992 // NOTE: This must be the last member.
992 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 993 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
993 994
994 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 995 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
995 }; 996 };
996 997
997 } // namespace content 998 } // namespace content
998 999
999 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1000 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698