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

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/webui/signin/user_manager_screen_handler.h
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
index b2fcb09bdeba32001c60fd7b762cf27e61f501f4..cb47ae95698c59ccf102f0648e8b97a0a29604c2 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
@@ -6,12 +6,12 @@
#define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_
#include <map>
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/cancelable_task_tracker.h"
#include "chrome/browser/profiles/profile.h"
@@ -94,7 +94,7 @@ class UserManagerScreenHandler
// Handle GAIA auth results.
void OnGetTokenInfoResponse(
- scoped_ptr<base::DictionaryValue> token_info) override;
+ std::unique_ptr<base::DictionaryValue> token_info) override;
void OnOAuthError() override;
void OnNetworkError(int response_code) override;
@@ -114,10 +114,10 @@ class UserManagerScreenHandler
// Observes the ProfileAttributesStorage and gets notified when a profile has
// been modified, so that the displayed user pods can be updated.
- scoped_ptr<ProfileUpdateObserver> profile_attributes_storage_observer_;
+ std::unique_ptr<ProfileUpdateObserver> profile_attributes_storage_observer_;
// Authenticator used when local-auth fails.
- scoped_ptr<gaia::GaiaOAuthClient> oauth_client_;
+ std::unique_ptr<gaia::GaiaOAuthClient> oauth_client_;
// The path of the profile currently being authenticated.
base::FilePath authenticating_profile_path_;

Powered by Google App Engine
This is Rietveld 408576698