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

Unified Diff: components/sessions/content/content_serialized_navigation_builder.h

Issue 1440573003: Remove ScopedVector from NavigationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: aw Created 5 years, 1 month 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: components/sessions/content/content_serialized_navigation_builder.h
diff --git a/components/sessions/content/content_serialized_navigation_builder.h b/components/sessions/content/content_serialized_navigation_builder.h
index bde17afacf357d8324378f02101811da71cdd937..34c8483e1725df432055ee59b7d311b8a260e6a3 100644
--- a/components/sessions/content/content_serialized_navigation_builder.h
+++ b/components/sessions/content/content_serialized_navigation_builder.h
@@ -8,7 +8,6 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
-#include "base/memory/scoped_vector.h"
#include "components/sessions/core/sessions_export.h"
namespace content {
@@ -39,7 +38,7 @@ class SESSIONS_EXPORT ContentSerializedNavigationBuilder {
// Converts a set of SerializedNavigationEntrys into a list of
// NavigationEntrys with sequential page IDs and the given context.
- static ScopedVector<content::NavigationEntry> ToNavigationEntries(
+ static std::vector<scoped_ptr<content::NavigationEntry>> ToNavigationEntries(
const std::vector<SerializedNavigationEntry>& navigations,
content::BrowserContext* browser_context);
};

Powered by Google App Engine
This is Rietveld 408576698