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

Unified Diff: content/browser/frame_host/navigator_impl.h

Issue 789643005: PlzNavigate: make content unit tests work with browser side navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cancel-navigations
Patch Set: Created 5 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/navigator_impl.h
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index 16f9466dc2863e2a2a501fcf01d4dd1f57dac8c1..62e37e603b3e99cd26826e351aecf1e3a213800f 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -88,6 +88,11 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
NavigationRequest* GetNavigationRequestForNodeForTesting(
FrameTreeNode* frame_tree_node);
+ // PlzNavigate
+ // Returns whether there is an ongoing navigation waiting for the BeforeUnload
+ // event to execute in the renderer.
nasko 2015/01/17 00:22:01 nit: s/renderer/renderer process/.
clamy 2015/01/19 17:29:19 Done (note that the comment was moved to Navigator
+ bool IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node);
+
private:
// Holds data used to track browser side navigation metrics.
struct NavigationMetricsData;
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | content/browser/frame_host/render_frame_host_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698