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

Unified Diff: components/sessions/core/session_service_commands.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
Index: components/sessions/core/session_service_commands.h
diff --git a/components/sessions/core/session_service_commands.h b/components/sessions/core/session_service_commands.h
index 7d0f80988d135e556e27d509f4da049cbdfe68ad..be854759c1ac4b9b8e2b151f15dc539648238299 100644
--- a/components/sessions/core/session_service_commands.h
+++ b/components/sessions/core/session_service_commands.h
@@ -96,7 +96,7 @@ SESSIONS_EXPORT bool IsClosingCommand(SessionCommand* command);
// id of the last active window, but it's only valid when this id corresponds
// to the id of one of the windows in |valid_windows|.
SESSIONS_EXPORT void RestoreSessionFromCommands(
- const ScopedVector<SessionCommand>& commands,
+ const std::vector<std::unique_ptr<SessionCommand>>& commands,
std::vector<std::unique_ptr<SessionWindow>>* valid_windows,
SessionID::id_type* active_window_id);
« no previous file with comments | « components/sessions/core/session_backend_unittest.cc ('k') | components/sessions/core/session_service_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698