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

Unified Diff: chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h

Issue 1878143002: Convert //chrome/browser/supervised_user 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: chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h
index 63fd6d124eea24f736a8728e517b004aa65cbd77..62b82ffdea804599c9d33bff7c5ca056e5bde3fe 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h
+++ b/chrome/browser/supervised_user/legacy/supervised_user_registration_utility.h
@@ -58,7 +58,8 @@ class SupervisedUserRegistrationUtility {
virtual ~SupervisedUserRegistrationUtility() {}
// Creates SupervisedUserRegistrationUtility for a given |profile|.
- static scoped_ptr<SupervisedUserRegistrationUtility> Create(Profile* profile);
+ static std::unique_ptr<SupervisedUserRegistrationUtility> Create(
+ Profile* profile);
static std::string GenerateNewSupervisedUserId();
@@ -84,7 +85,7 @@ class SupervisedUserRegistrationUtility {
// Creates implementation with explicit dependencies, can be used for testing.
static SupervisedUserRegistrationUtility* CreateImpl(
PrefService* prefs,
- scoped_ptr<SupervisedUserRefreshTokenFetcher> token_fetcher,
+ std::unique_ptr<SupervisedUserRefreshTokenFetcher> token_fetcher,
SupervisedUserSyncService* service,
SupervisedUserSharedSettingsService* shared_settings_service);

Powered by Google App Engine
This is Rietveld 408576698