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

Unified Diff: chrome/browser/ui/toolbar/media_router_action_platform_delegate.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/toolbar/media_router_action_platform_delegate.h
diff --git a/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h b/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h
index c085d6484599bb1ad5b0aa431a545a5d3ccd432d..311cbe0820bfe8f869331b92368c87a149e21e4e 100644
--- a/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h
+++ b/chrome/browser/ui/toolbar/media_router_action_platform_delegate.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_
#define CHROME_BROWSER_UI_TOOLBAR_MEDIA_ROUTER_ACTION_PLATFORM_DELEGATE_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
class Browser;
@@ -16,7 +16,8 @@ class MediaRouterActionPlatformDelegate {
// Returns a created MediaRouterActionPlatformDelegate. This is defined in the
// platform-specific implementation for the class.
- static scoped_ptr<MediaRouterActionPlatformDelegate> Create(Browser* browser);
+ static std::unique_ptr<MediaRouterActionPlatformDelegate> Create(
+ Browser* browser);
// Closes the overflow menu, if it was open. Returns whether or not the
// overflow menu was closed.
« no previous file with comments | « chrome/browser/ui/toolbar/media_router_action.h ('k') | chrome/browser/ui/toolbar/media_router_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698