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

Unified Diff: ios/chrome/browser/ui/browser_view_controller_unittest.mm

Issue 2718273003: Change return type of Tab -navigationManager. (Closed)
Patch Set: Fix BrowserViewControllerTest unit tests. 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/chrome/browser/ui/browser_view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller_unittest.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller_unittest.mm b/ios/chrome/browser/ui/browser_view_controller_unittest.mm
index cbe5c55e7627a93c49903347a2c4bfdf7ba4bb7b..45354be1be2d842ad436d25859b97fe9657a4c9b 100644
--- a/ios/chrome/browser/ui/browser_view_controller_unittest.mm
+++ b/ios/chrome/browser/ui/browser_view_controller_unittest.mm
@@ -88,7 +88,8 @@ using web::WebStateImpl;
@property(nonatomic, assign) const GURL& url;
@property(nonatomic, assign) WebStateImpl* webState;
-- (NavigationManagerImpl*)navigationManager;
+- (web::NavigationManager*)navigationManager;
+- (web::NavigationManagerImpl*)navigationManagerImpl;
@end
@@ -105,7 +106,10 @@ using web::WebStateImpl;
- (void)setWebState:(WebStateImpl*)webState {
webState_ = webState;
}
-- (NavigationManagerImpl*)navigationManager {
+- (web::NavigationManager*)navigationManager {
+ return &(webState_->GetNavigationManagerImpl());
+}
+- (web::NavigationManagerImpl*)navigationManagerImpl {
return &(webState_->GetNavigationManagerImpl());
}
@end
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698