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

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

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Not sending POST data when cross-site redirect 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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // Notifies the RenderFrameHostManager that a new NavigationRequest has been 404 // Notifies the RenderFrameHostManager that a new NavigationRequest has been
405 // created and set in the FrameTreeNode so that it can speculatively create a 405 // created and set in the FrameTreeNode so that it can speculatively create a
406 // new RenderFrameHost (and potentially a new process) if needed. 406 // new RenderFrameHost (and potentially a new process) if needed.
407 void DidCreateNavigationRequest(NavigationRequest* request); 407 void DidCreateNavigationRequest(NavigationRequest* request);
408 408
409 // PlzNavigate 409 // PlzNavigate
410 // Called (possibly several times) during a navigation to select or create an 410 // Called (possibly several times) during a navigation to select or create an
411 // appropriate RenderFrameHost for the provided URL. The returned pointer will 411 // appropriate RenderFrameHost for the provided URL. The returned pointer will
412 // be for the current or the speculative RenderFrameHost and the instance is 412 // be for the current or the speculative RenderFrameHost and the instance is
413 // owned by this manager. 413 // owned by this manager.
414 RenderFrameHostImpl* GetFrameHostForNavigation( 414 // |is_commit| should be true when the function is called when the navigation
415 const NavigationRequest& request); 415 // is ready to commit, false otherwise.
416 RenderFrameHostImpl* GetFrameHostForNavigation(NavigationRequest* request,
417 bool is_commit);
416 418
417 // PlzNavigate 419 // PlzNavigate
418 // Clean up any state for any ongoing navigation. 420 // Clean up any state for any ongoing navigation.
419 void CleanUpNavigation(); 421 void CleanUpNavigation();
420 422
421 // PlzNavigate 423 // PlzNavigate
422 // Clears the speculative members, returning the RenderFrameHost to the caller 424 // Clears the speculative members, returning the RenderFrameHost to the caller
423 // for disposal. 425 // for disposal.
424 std::unique_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost(); 426 std::unique_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost();
425 427
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 794 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
793 795
794 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 796 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
795 797
796 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 798 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
797 }; 799 };
798 800
799 } // namespace content 801 } // namespace content
800 802
801 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 803 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698