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

Side by Side Diff: chrome/browser/ui/ash/multi_user/multi_user_context_menu.cc

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 #include "chrome/browser/ui/ash/multi_user/multi_user_context_menu.h" 5 #include "chrome/browser/ui/ash/multi_user/multi_user_context_menu.h"
6 6
7 #include "ui/base/models/menu_model.h" 7 #include "ui/base/models/menu_model.h"
8 8
9 scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window) { 9 std::unique_ptr<ui::MenuModel> CreateMultiUserContextMenu(
10 scoped_ptr<ui::MenuModel> menu_model; 10 aura::Window* window) {
11 std::unique_ptr<ui::MenuModel> menu_model;
11 return menu_model; 12 return menu_model;
12 } 13 }
13 14
14 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window) {} 15 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698