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

Unified Diff: chrome/browser/supervised_user/chromeos/supervised_user_password_service.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/chromeos/supervised_user_password_service.h
diff --git a/chrome/browser/supervised_user/chromeos/supervised_user_password_service.h b/chrome/browser/supervised_user/chromeos/supervised_user_password_service.h
index 254d0555d8a6b9bdb3ba7256c764fe14f266337c..5cd18734f8a80b93794fc656432e8a3a4582eb4c 100644
--- a/chrome/browser/supervised_user/chromeos/supervised_user_password_service.h
+++ b/chrome/browser/supervised_user/chromeos/supervised_user_password_service.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_SUPERVISED_USER_PASSWORD_SERVICE_H_
#define CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_SUPERVISED_USER_PASSWORD_SERVICE_H_
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/supervised_user/legacy/supervised_user_shared_settings_service.h"
#include "chrome/browser/supervised_user/supervised_users.h"
@@ -34,8 +34,8 @@ class SupervisedUserPasswordService : public KeyedService {
std::string user_id_;
SupervisedUserSharedSettingsService* settings_service_;
- scoped_ptr<SupervisedUserSharedSettingsService::ChangeCallbackList::
- Subscription>
+ std::unique_ptr<
+ SupervisedUserSharedSettingsService::ChangeCallbackList::Subscription>
settings_service_subscription_;
base::WeakPtrFactory<SupervisedUserPasswordService> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698