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

Unified Diff: content/public/browser/navigation_handle.cc

Issue 1667163002: Add methods to NavigationHandle to allow refactoring webNavigation to use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on Camille's review. Created 4 years, 10 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/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index 4926947a2e926cde7b3f25ea96bc20ae22680377..857e17d74f9c6589ce3e313ac4150bb200569e4f 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -27,6 +27,8 @@ scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting(
scoped_ptr<NavigationHandleImpl> handle_impl = NavigationHandleImpl::Create(
url,
static_cast<RenderFrameHostImpl*>(render_frame_host)->frame_tree_node(),
+ false, // is_synchronous
+ false, // is_srcdoc
base::TimeTicks::Now());
return scoped_ptr<NavigationHandle>(std::move(handle_impl));
}
« no previous file with comments | « content/public/browser/navigation_handle.h ('k') | content/test/data/frame_tree/page_with_srcdoc_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698