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

Side by Side Diff: chrome/browser/ui/webui/options/supervised_user_create_confirm_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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLER_H _
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 10
(...skipping 21 matching lines...) Expand all
32 // that this dialog can be updated or closed. 32 // that this dialog can be updated or closed.
33 class ProfileUpdateObserver; 33 class ProfileUpdateObserver;
34 34
35 // Callback for the "switchToProfile" message. 35 // Callback for the "switchToProfile" message.
36 // Opens a new window for the profile. 36 // Opens a new window for the profile.
37 // |args| is of the form [ {string} profileFilePath ] 37 // |args| is of the form [ {string} profileFilePath ]
38 void SwitchToProfile(const base::ListValue* args); 38 void SwitchToProfile(const base::ListValue* args);
39 39
40 // Observes the ProfileAttributesStorage and gets notified when a profile has 40 // Observes the ProfileAttributesStorage and gets notified when a profile has
41 // been modified, so that the dialog can be updated or closed. 41 // been modified, so that the dialog can be updated or closed.
42 scoped_ptr<ProfileUpdateObserver> profile_update_observer_; 42 std::unique_ptr<ProfileUpdateObserver> profile_update_observer_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreateConfirmHandler); 44 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreateConfirmHandler);
45 }; 45 };
46 46
47 } // namespace options 47 } // namespace options
48 48
49 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLE R_H_ 49 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SUPERVISED_USER_CREATE_CONFIRM_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698