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

Side by Side Diff: content/browser/frame_host/interstitial_page_navigator_impl.cc

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #include "content/browser/frame_host/interstitial_page_navigator_impl.h" 5 #include "content/browser/frame_host/interstitial_page_navigator_impl.h"
6 6
7 #include "content/browser/frame_host/interstitial_page_impl.h" 7 #include "content/browser/frame_host/interstitial_page_impl.h"
8 #include "content/browser/frame_host/navigation_controller_impl.h" 8 #include "content/browser/frame_host/navigation_controller_impl.h"
9 #include "content/browser/frame_host/navigator_delegate.h" 9 #include "content/browser/frame_host/navigator_delegate.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 InterstitialPageNavigatorImpl::InterstitialPageNavigatorImpl( 14 InterstitialPageNavigatorImpl::InterstitialPageNavigatorImpl(
15 InterstitialPageImpl* interstitial, 15 InterstitialPageImpl* interstitial,
16 NavigationControllerImpl* navigation_controller) 16 NavigationControllerImpl* navigation_controller)
17 : interstitial_(interstitial), 17 : interstitial_(interstitial),
18 controller_(navigation_controller) {} 18 controller_(navigation_controller) {}
19 19
20 NavigatorDelegate* InterstitialPageNavigatorImpl::GetDelegate() { 20 NavigatorDelegate* InterstitialPageNavigatorImpl::GetDelegate() {
21 return interstitial_; 21 return interstitial_;
22 } 22 }
23 23
24 NavigationController* InterstitialPageNavigatorImpl::GetController() { 24 NavigationController* InterstitialPageNavigatorImpl::GetController() {
25 return controller_; 25 return controller_;
26 } 26 }
27 27
28 void InterstitialPageNavigatorImpl::DidNavigate( 28 void InterstitialPageNavigatorImpl::DidNavigate(
29 RenderFrameHostImpl* render_frame_host, 29 RenderFrameHostImpl* render_frame_host,
30 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params) { 30 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params,
31 scoped_refptr<ResourceRequestBody> post_data) {
31 // TODO(nasko): Move implementation here, but for the time being call out 32 // TODO(nasko): Move implementation here, but for the time being call out
32 // to the interstitial page code. 33 // to the interstitial page code.
33 interstitial_->DidNavigate( 34 interstitial_->DidNavigate(
34 render_frame_host->render_view_host(), input_params); 35 render_frame_host->render_view_host(), input_params);
35 } 36 }
36 37
37 } // namespace content 38 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698