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

Unified Diff: content/test/test_web_contents.h

Issue 1048463004: PlzNavigate: track pending commits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed other occurences of main_test_rfh Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/test/test_web_contents.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index 4d9b3ab9967e7d186c5838002b50209fc48a165d..66bef97729b918cd61462efe0ba2a02615d3c47c 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -48,10 +48,8 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
const Referrer& referrer,
ui::PageTransition transition) override;
- // State accessor.
- bool cross_navigation_pending() {
- return GetRenderManager()->cross_navigation_pending_;
- }
+ // True if a cross-site navigation is pending.
+ bool CrossProcessNavigationPending();
// Prevent interaction with views.
bool CreateRenderViewForRenderManager(RenderViewHost* render_view_host,

Powered by Google App Engine
This is Rietveld 408576698