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

Side by Side Diff: chrome/browser/ui/ash/multi_user/multi_user_context_menu.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9 9
10 namespace aura { 10 namespace aura {
11 class Window; 11 class Window;
12 } 12 }
13 13
14 namespace ui { 14 namespace ui {
15 class MenuModel; 15 class MenuModel;
16 } 16 }
17 17
18 // The multi user context menu factory. 18 // The multi user context menu factory.
19 scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window); 19 std::unique_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window);
20 20
21 // Executes move of a |window| to another profile. 21 // Executes move of a |window| to another profile.
22 // |command_id| defines a user whose desktop is being visited. 22 // |command_id| defines a user whose desktop is being visited.
23 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window); 23 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window);
24 24
25 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_ 25 #endif // CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698