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

Unified Diff: ios/web/net/crw_ssl_status_updater_unittest.mm

Issue 2698773002: [iOS] Refactoring web CRWSessionController user agent code. (Closed)
Patch Set: Fix unit tests and rebase 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
« no previous file with comments | « ios/web/navigation/navigation_manager_impl_unittest.mm ('k') | ios/web/public/navigation_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/crw_ssl_status_updater_unittest.mm
diff --git a/ios/web/net/crw_ssl_status_updater_unittest.mm b/ios/web/net/crw_ssl_status_updater_unittest.mm
index ee4243ac865aab3bcaf0daad148f2685bc25a299..e7fe2f2876c48cf31f0aa581b9121271e992bcdc 100644
--- a/ios/web/net/crw_ssl_status_updater_unittest.mm
+++ b/ios/web/net/crw_ssl_status_updater_unittest.mm
@@ -109,10 +109,11 @@ void TearDown() override {
initWithNavigationItems:std::move(nav_items)
currentIndex:0
browserState:GetBrowserState()]);
- [session_controller addPendingItem:GURL(item_url_spec)
- referrer:Referrer()
- transition:ui::PAGE_TRANSITION_LINK
- rendererInitiated:NO];
+ [session_controller
+ addPendingItem:GURL(item_url_spec)
+ referrer:Referrer()
+ transition:ui::PAGE_TRANSITION_LINK
+ initiationType:web::NavigationInitiationType::USER_INITIATED];
[session_controller commitPendingItem];
return session_controller.autorelease();
« no previous file with comments | « ios/web/navigation/navigation_manager_impl_unittest.mm ('k') | ios/web/public/navigation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698