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

Side by Side Diff: ios/web/navigation/navigation_item_impl_list.mm

Issue 2672723003: Converted CRWSessionController to use NavigationItems. (Closed)
Patch Set: test fixes, self review 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/web/navigation/navigation_item_impl_list.h"
6
7 #import "ios/web/navigation/navigation_item_impl.h"
8
9 namespace web {
10
11 ScopedNavigationItemImplList CreateScopedNavigationItemImplList(
12 ScopedNavigationItemList scoped_item_list) {
13 ScopedNavigationItemImplList list;
14 for (size_t index = 0; index < scoped_item_list.size(); ++index) {
15 std::unique_ptr<NavigationItemImpl> scoped_item_impl(
16 static_cast<NavigationItemImpl*>(scoped_item_list[index].release()));
17 list.push_back(std::move(scoped_item_impl));
18 }
19 return list;
20 }
21
22 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/navigation/navigation_item_impl_list.h ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698