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

Unified Diff: ios/web/web_state/ui/crw_web_controller_unittest.mm

Issue 2671773005: Updated CRWSessionController interface to use NavigationItems. (Closed)
Patch Set: self review Created 3 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: ios/web/web_state/ui/crw_web_controller_unittest.mm
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm
index 2189963af91336b9e2aa549394df06ecc601556f..606ef300d2f023784ee5c4140025244310c59b43 100644
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm
@@ -219,7 +219,7 @@ void SetUp() override {
[web_controller() webStateImpl]->GetNavigationManagerImpl();
navigationManager.InitializeSession(@"name", nil, NO, 0);
[navigationManager.GetSessionController()
- addPendingEntry:GURL("http://www.google.com/?q=foo#bar")
+ addPendingItem:GURL("http://www.google.com/?q=foo#bar")
referrer:web::Referrer()
transition:ui::PAGE_TRANSITION_TYPED
rendererInitiated:NO];
@@ -797,7 +797,7 @@ void Load(const GURL& URL) {
[web_controller() webStateImpl]->GetNavigationManagerImpl();
navigation_manager.InitializeSession(@"name", nil, NO, 0);
[navigation_manager.GetSessionController()
- addPendingEntry:URL
+ addPendingItem:URL
referrer:web::Referrer()
transition:ui::PAGE_TRANSITION_TYPED
rendererInitiated:NO];
« ios/web/public/navigation_item_list.mm ('K') | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698