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

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

Issue 2737203002: Remove CRWSessionEntry. (Closed)
Patch Set: fix XCode-clang build Created 3 years, 9 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_ 5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_
6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_ 6 #define IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_
7 7
8 #import "ios/web/public/navigation_item_list.h" 8 #import "ios/web/public/navigation_item_list.h"
9 9
10 namespace web { 10 namespace web {
11 11
12 class NavigationItemImpl; 12 class NavigationItemImpl;
13 13
14 // Convenience typedef for a list of raw NavigationItem pointers. 14 // Convenience typedef for a list of raw NavigationItem pointers.
15 typedef std::vector<NavigationItemImpl*> NavigationItemImplList; 15 typedef std::vector<NavigationItemImpl*> NavigationItemImplList;
16 16
17 // Convenience typedef for a list of scoped NavigationItem pointers. 17 // Convenience typedef for a list of scoped NavigationItem pointers.
18 typedef std::vector<std::unique_ptr<NavigationItemImpl>> 18 typedef std::vector<std::unique_ptr<NavigationItemImpl>>
19 ScopedNavigationItemImplList; 19 ScopedNavigationItemImplList;
20 20
21 // Creates a ScopedNavigationItemImplList from |scoped_item_list|. Ownership 21 // Creates a ScopedNavigationItemImplList from |scoped_item_list|. Ownership
22 // of the NavigationItems in |scoped_item_list| is transferred to the returned 22 // of the NavigationItems in |scoped_item_list| is transferred to the returned
23 // value. 23 // value.
24 ScopedNavigationItemImplList CreateScopedNavigationItemImplList( 24 ScopedNavigationItemImplList CreateScopedNavigationItemImplList(
25 ScopedNavigationItemList scoped_item_list); 25 ScopedNavigationItemList scoped_item_list);
26 26
27 // Creates a NavigationItemList from |scoped_item_list|.
28 NavigationItemList CreateNavigationItemList(
29 const ScopedNavigationItemImplList& scoped_item_list);
30
27 } // namespace web 31 } // namespace web
28 32
29 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_ 33 #endif // IOS_WEB_NAVIGATION_NAVIGATION_ITEM_IMPL_LIST_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/navigation_item_impl.h ('k') | ios/web/navigation/navigation_item_impl_list.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698