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

Unified Diff: components/sessions/core/tab_restore_service.h

Issue 1912843002: Convert //components/sessions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « components/sessions/core/session_types.h ('k') | components/sessions/core/tab_restore_service_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/core/tab_restore_service.h
diff --git a/components/sessions/core/tab_restore_service.h b/components/sessions/core/tab_restore_service.h
index 9d10594890da917b4c8f3730b371bbfef4a454d1..f9eda99c3c0155adddf34530ab4b0d7dcaea2439 100644
--- a/components/sessions/core/tab_restore_service.h
+++ b/components/sessions/core/tab_restore_service.h
@@ -102,7 +102,7 @@ class SESSIONS_EXPORT TabRestoreService : public KeyedService {
std::string extension_app_id;
// The associated client data.
- scoped_ptr<PlatformSpecificTabData> platform_data;
+ std::unique_ptr<PlatformSpecificTabData> platform_data;
// The user agent override used for the tab's navigations (if applicable).
std::string user_agent_override;
@@ -197,7 +197,7 @@ class SESSIONS_EXPORT PlatformSpecificTabData {
private:
friend TabRestoreService::Tab;
- virtual scoped_ptr<PlatformSpecificTabData> Clone() = 0;
+ virtual std::unique_ptr<PlatformSpecificTabData> Clone() = 0;
};
} // namespace sessions
« no previous file with comments | « components/sessions/core/session_types.h ('k') | components/sessions/core/tab_restore_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698