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

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

Issue 2600583002: Remove ScopedVector from components/sessions. (Closed)
Patch Set: include Created 3 years, 12 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 dd7a119fdbf323b69bdfdff487e9a77042d1a92f..4943c09edf941cfa4ff354cf8ea357fe75450939 100644
--- a/ios/web/navigation/crw_session_controller+private_constructors.h
+++ b/ios/web/navigation/crw_session_controller+private_constructors.h
@@ -7,7 +7,8 @@
#import "ios/web/navigation/crw_session_controller.h"
-#include "base/memory/scoped_vector.h"
+#include <memory>
+#include <vector>
namespace web {
class BrowserState;
@@ -29,7 +30,8 @@ class NavigationItem;
// Initializes a session controller, supplying a list of NavigationItem objects
// and the current index in the navigation history.
-- (id)initWithNavigationItems:(ScopedVector<web::NavigationItem>)scoped_items
+- (id)initWithNavigationItems:
+ (std::vector<std::unique_ptr<web::NavigationItem>>)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