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

Unified Diff: ios/web/navigation/crw_session_controller+private_constructors.h

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/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/crw_session_controller_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/crw_session_controller+private_constructors.h
diff --git a/ios/web/navigation/crw_session_controller+private_constructors.h b/ios/web/navigation/crw_session_controller+private_constructors.h
index 4943c09edf941cfa4ff354cf8ea357fe75450939..0f2a8b62f82d8cf5f0b14fba92f192d4471c466e 100644
--- a/ios/web/navigation/crw_session_controller+private_constructors.h
+++ b/ios/web/navigation/crw_session_controller+private_constructors.h
@@ -5,11 +5,12 @@
#ifndef IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_PRIVATE_CONSTRUCTORS_H_
#define IOS_WEB_NAVIGATION_CRW_SESSION_CONTROLLER_PRIVATE_CONSTRUCTORS_H_
-#import "ios/web/navigation/crw_session_controller.h"
-
#include <memory>
#include <vector>
+#import "ios/web/navigation/crw_session_controller.h"
+#include "ios/web/public/navigation_item_list.h"
+
namespace web {
class BrowserState;
class NavigationItem;
@@ -30,8 +31,7 @@ class NavigationItem;
// Initializes a session controller, supplying a list of NavigationItem objects
// and the current index in the navigation history.
-- (id)initWithNavigationItems:
- (std::vector<std::unique_ptr<web::NavigationItem>>)items
+- (id)initWithNavigationItems:(web::ScopedNavigationItemList)items
currentIndex:(NSUInteger)currentIndex
browserState:(web::BrowserState*)browserState;
@end
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | ios/web/navigation/crw_session_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698