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

Unified Diff: chrome/browser/sessions/session_service.h

Issue 2600583002: Remove ScopedVector from components/sessions. (Closed)
Patch Set: fixes 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
« no previous file with comments | « no previous file | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_service.h
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h
index acd9af0af9299270f6ee34c731243444a1b33e79..8367ee699aa7377f520166d804446770da7a1640 100644
--- a/chrome/browser/sessions/session_service.h
+++ b/chrome/browser/sessions/session_service.h
@@ -260,8 +260,9 @@ class SessionService : public sessions::BaseSessionServiceDelegate,
void OnBrowserSetLastActive(Browser* browser) override;
// Converts |commands| to SessionWindows and notifies the callback.
- void OnGotSessionCommands(const sessions::GetLastSessionCallback& callback,
- ScopedVector<sessions::SessionCommand> commands);
+ void OnGotSessionCommands(
+ const sessions::GetLastSessionCallback& callback,
+ std::vector<std::unique_ptr<sessions::SessionCommand>> commands);
// Adds commands to commands that will recreate the state of the specified
// tab. This adds at most kMaxNavigationCountToPersist navigations (in each
« no previous file with comments | « no previous file | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698