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 |