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

Unified Diff: ios/chrome/browser/tabs/tab_unittest.mm

Issue 2672723003: Converted CRWSessionController to use NavigationItems. (Closed)
Patch Set: test fixes, self review Created 3 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
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_unittest.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_unittest.mm
diff --git a/ios/chrome/browser/tabs/tab_unittest.mm b/ios/chrome/browser/tabs/tab_unittest.mm
index 05f0dc4f3a2d0a6e335ca17233c9de5c843a8854..f3924d59a5dc12aa195ddae2d07f65ee4680eee8 100644
--- a/ios/chrome/browser/tabs/tab_unittest.mm
+++ b/ios/chrome/browser/tabs/tab_unittest.mm
@@ -238,12 +238,12 @@ void BrowseTo(const GURL& userUrl, const GURL& redirectUrl, NSString* title) {
[tab_ webWillAddPendingURL:redirectUrl
transition:ui::PAGE_TRANSITION_CLIENT_REDIRECT];
[[tab_ navigationManager]->GetSessionController()
- addPendingEntry:redirectUrl
+ addPendingItem:redirectUrl
referrer:empty_referrer
transition:ui::PAGE_TRANSITION_CLIENT_REDIRECT
rendererInitiated:YES];
web_state_impl_->OnProvisionalNavigationStarted(redirectUrl);
- [[tab_ navigationManager]->GetSessionController() commitPendingEntry];
+ [[tab_ navigationManager]->GetSessionController() commitPendingItem];
[[tab_ webController] webStateImpl]->OnNavigationCommitted(redirectUrl);
[tab_ webDidStartLoadingURL:redirectUrl shouldUpdateHistory:YES];
[tab_ webController:mock_web_controller_ titleDidChange:title];
« no previous file with comments | « ios/chrome/browser/tabs/tab_model_unittest.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698