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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.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/app_list/extension_app_item.h
diff --git a/chrome/browser/ui/app_list/extension_app_item.h b/chrome/browser/ui/app_list/extension_app_item.h
index 87a42a2186a22199fa7c7e07af974834d08d441f..16d33263e29d2a7cb17c41adceb395a6a50dbb49 100644
--- a/chrome/browser/ui/app_list/extension_app_item.h
+++ b/chrome/browser/ui/app_list/extension_app_item.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_
#define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/app_list/app_context_menu_delegate.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service.h"
#include "chrome/browser/ui/app_list/chrome_app_list_item.h"
@@ -99,9 +99,9 @@ class ExtensionAppItem : public ChromeAppListItem,
// Set the position from the ordering.
void UpdatePositionFromOrdering();
- scoped_ptr<extensions::IconImage> icon_;
- scoped_ptr<app_list::ExtensionAppContextMenu> context_menu_;
- scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
+ std::unique_ptr<extensions::IconImage> icon_;
+ std::unique_ptr<app_list::ExtensionAppContextMenu> context_menu_;
+ std::unique_ptr<ExtensionEnableFlow> extension_enable_flow_;
AppListControllerDelegate* extension_enable_flow_controller_;
// Name to use for the extension if we can't access it.
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_context_menu.h ('k') | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698