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

Unified Diff: content/browser/frame_host/interstitial_page_navigator_impl.cc

Issue 2657323003: Convert HistoryTabHelper to use the new navigation callbacks. (Closed)
Patch Set: better fix to send this data from the renderer initially Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/interstitial_page_navigator_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_navigator_impl.cc b/content/browser/frame_host/interstitial_page_navigator_impl.cc
index e9325d719ee9e0a13ea33d83ce8f82bd33a91a82..85abff9459979533a54bc43542b31b1f70ce679d 100644
--- a/content/browser/frame_host/interstitial_page_navigator_impl.cc
+++ b/content/browser/frame_host/interstitial_page_navigator_impl.cc
@@ -30,11 +30,13 @@ NavigationController* InterstitialPageNavigatorImpl::GetController() {
void InterstitialPageNavigatorImpl::DidStartProvisionalLoad(
RenderFrameHostImpl* render_frame_host,
const GURL& url,
+ const std::vector<GURL>& redirect_chain,
const base::TimeTicks& navigation_start) {
// The interstitial page should only navigate once.
DCHECK(!render_frame_host->navigation_handle());
render_frame_host->SetNavigationHandle(
- NavigationHandleImpl::Create(url, render_frame_host->frame_tree_node(),
+ NavigationHandleImpl::Create(url, redirect_chain,
+ render_frame_host->frame_tree_node(),
false, // is_renderer_initiated
false, // is_synchronous
navigation_start,

Powered by Google App Engine
This is Rietveld 408576698