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

Unified Diff: ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h

Issue 2617243002: Remove ScopedVector from ios/. (Closed)
Patch Set: rebase 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
Index: ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h
diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h b/ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h
index af28381b87b8c122bde95dc88488487db35673d6..0ebdfc8b50c09b683628c1a1bcc5866e4c17ebe7 100644
--- a/ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h
+++ b/ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h
@@ -6,10 +6,11 @@
#define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_IOS_H_
#import <UIKit/UIKit.h>
+
+#include <memory>
#include <set>
#include <vector>
-#include "base/memory/scoped_vector.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
@@ -151,8 +152,9 @@ class NodesSection {
// NodesSections.
// Automatically clears, populates and sorts |nodesSectionVector|.
// This method is not thread safe - it should only be called from the ui thread.
-void segregateNodes(const NodeVector& vector,
- ScopedVector<NodesSection>& nodesSectionVector);
+void segregateNodes(
+ const NodeVector& vector,
+ std::vector<std::unique_ptr<NodesSection>>& nodesSectionVector);
#pragma mark - Useful bookmark manipulation.
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/bookmark_all_collection_view.mm ('k') | ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698