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

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc

Issue 1110943003: Revert of Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
index 9844e6cff5398d0f72f6abfb0842ac00f8a50b79..8b6c78424b9ed7747849f6857cb2b655712a38b9 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
@@ -253,9 +253,8 @@
EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::NONE);
EXPECT_TRUE(contents()->CrossProcessNavigationPending());
- NavigationEntry* pending = contents()->GetController().GetPendingEntry();
main_test_rfh()->SendNavigate(
- 0, pending->GetUniqueID(), false, pending->GetURL());
+ 1, contents()->GetController().GetPendingEntry()->GetURL());
EXPECT_EQ(contents()->GetURL(), third());
}
@@ -269,9 +268,8 @@
// for the previous page, so we should still be observing.
EXPECT_TRUE(GetOverlay()->web_contents());
- NavigationEntry* pending = contents()->GetController().GetPendingEntry();
main_test_rfh()->SendNavigate(
- 0, pending->GetUniqueID(), false, pending->GetURL());
+ 1, contents()->GetController().GetPendingEntry()->GetURL());
ReceivePaintUpdate();
// Navigation was committed and the paint update was received - we should no
@@ -293,9 +291,8 @@
contents()->TestSetIsLoading(true);
contents()->TestSetIsLoading(false);
EXPECT_FALSE(GetOverlay()->web_contents());
- NavigationEntry* pending = contents()->GetController().GetPendingEntry();
main_test_rfh()->SendNavigate(
- 0, pending->GetUniqueID(), false, pending->GetURL());
+ 1, contents()->GetController().GetPendingEntry()->GetURL());
EXPECT_EQ(contents()->GetURL(), third());
}
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698