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

Unified Diff: ios/web/webui/crw_web_ui_manager_unittest.mm

Issue 2896623003: Added web::NavigationContext::GetPageTransition. (Closed)
Patch Set: Rebased Created 3 years, 7 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/web_state/web_state_observer_bridge_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/crw_web_ui_manager_unittest.mm
diff --git a/ios/web/webui/crw_web_ui_manager_unittest.mm b/ios/web/webui/crw_web_ui_manager_unittest.mm
index fd9d1075fdf79aa4a6f47ace749582aef1660408..22a10436666d81f096332cd589f0a06da2fadd0d 100644
--- a/ios/web/webui/crw_web_ui_manager_unittest.mm
+++ b/ios/web/webui/crw_web_ui_manager_unittest.mm
@@ -148,8 +148,9 @@ TEST_F(CRWWebUIManagerTest, LoadWebUI) {
GURL url(kTestWebUIUrl);
EXPECT_CALL(*web_state_impl_, LoadWebUIHtml(html, url));
std::unique_ptr<web::NavigationContext> context =
- NavigationContextImpl::CreateNavigationContext(web_state_impl_.get(),
- url);
+ NavigationContextImpl::CreateNavigationContext(
+ web_state_impl_.get(), url,
+ ui::PageTransition::PAGE_TRANSITION_AUTO_BOOKMARK);
web_state_impl_->OnNavigationStarted(context.get());
}
« no previous file with comments | « ios/web/web_state/web_state_observer_bridge_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698