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

Unified Diff: ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
diff --git a/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h b/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
index 08b7e096a781e3abf6b57dd82fe8e9de0eca7170..4d79429f279ea3e29552aae200e0843176f99b44 100644
--- a/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
+++ b/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
@@ -7,6 +7,7 @@
#include <stddef.h>
+#include <memory>
#include <set>
#include "base/callback_list.h"
@@ -72,11 +73,11 @@ class IOSChromeLocalSessionEventRouter
sync_sessions::SyncSessionsClient* const sessions_client_;
syncer::SyncableService::StartSyncFlare flare_;
- scoped_ptr<base::CallbackList<void(const std::set<GURL>&,
- const GURL&)>::Subscription>
+ std::unique_ptr<base::CallbackList<void(const std::set<GURL>&,
+ const GURL&)>::Subscription>
favicon_changed_subscription_;
- scoped_ptr<base::CallbackList<void(web::WebState*)>::Subscription>
+ std::unique_ptr<base::CallbackList<void(web::WebState*)>::Subscription>
tab_parented_subscription_;
DISALLOW_COPY_AND_ASSIGN(IOSChromeLocalSessionEventRouter);
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_sync_client.mm ('k') | ios/chrome/browser/sync/sync_setup_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698