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

Unified Diff: components/keyed_service/core/keyed_service_shutdown_notifier.cc

Issue 1918083002: Convert //components/[f-n]* 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
Index: components/keyed_service/core/keyed_service_shutdown_notifier.cc
diff --git a/components/keyed_service/core/keyed_service_shutdown_notifier.cc b/components/keyed_service/core/keyed_service_shutdown_notifier.cc
index cb0b27c482ccdae7c7f8c945c84dd31b97fc932a..34ec59301bb403a3af3a97c5272728360f2fdbe3 100644
--- a/components/keyed_service/core/keyed_service_shutdown_notifier.cc
+++ b/components/keyed_service/core/keyed_service_shutdown_notifier.cc
@@ -10,7 +10,7 @@ KeyedServiceShutdownNotifier::KeyedServiceShutdownNotifier() {
KeyedServiceShutdownNotifier::~KeyedServiceShutdownNotifier() {
}
-scoped_ptr<base::CallbackList<void()>::Subscription>
+std::unique_ptr<base::CallbackList<void()>::Subscription>
KeyedServiceShutdownNotifier::Subscribe(const base::Closure& callback) {
return callback_list_.Add(callback);
}

Powered by Google App Engine
This is Rietveld 408576698