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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/multi_user/multi_user_context_menu.h
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_context_menu.h b/chrome/browser/ui/ash/multi_user/multi_user_context_menu.h
index 42e38b9772ea9d44957d9e9168b73b9ff4cc6a2d..4cf1458bf1564564f624647b745289d1cf5992f2 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_context_menu.h
+++ b/chrome/browser/ui/ash/multi_user/multi_user_context_menu.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_
#define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_CONTEXT_MENU_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace aura {
class Window;
@@ -16,7 +16,7 @@ class MenuModel;
}
// The multi user context menu factory.
-scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window);
+std::unique_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window);
// Executes move of a |window| to another profile.
// |command_id| defines a user whose desktop is being visited.

Powered by Google App Engine
This is Rietveld 408576698