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

Unified Diff: chrome/browser/ui/app_list/search/arc_app_result.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/search/arc_app_result.h
diff --git a/chrome/browser/ui/app_list/search/arc_app_result.h b/chrome/browser/ui/app_list/search/arc_app_result.h
index a42ceef93d8232b6785fd04339e67b9c24578931..60e7841640ceb38c6b68b882c750fcd1e9da3fc3 100644
--- a/chrome/browser/ui/app_list/search/arc_app_result.h
+++ b/chrome/browser/ui/app_list/search/arc_app_result.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_ARC_APP_RESULT_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_ARC_APP_RESULT_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/app_icon_loader_delegate.h"
#include "chrome/browser/ui/app_list/search/app_result.h"
@@ -30,7 +30,7 @@ class ArcAppResult : public AppResult,
// SearchResult overrides:
void Open(int event_flags) override;
- scoped_ptr<SearchResult> Duplicate() const override;
+ std::unique_ptr<SearchResult> Duplicate() const override;
ui::MenuModel* GetContextMenuModel() override;
// AppContextMenuDelegate overrides:
@@ -41,8 +41,8 @@ class ArcAppResult : public AppResult,
const gfx::ImageSkia& image) override;
private:
- scoped_ptr<ArcAppIconLoader> icon_loader_;
- scoped_ptr<ArcAppContextMenu> context_menu_;
+ std::unique_ptr<ArcAppIconLoader> icon_loader_;
+ std::unique_ptr<ArcAppContextMenu> context_menu_;
DISALLOW_COPY_AND_ASSIGN(ArcAppResult);
};
« no previous file with comments | « chrome/browser/ui/app_list/search/app_search_provider_unittest.cc ('k') | chrome/browser/ui/app_list/search/arc_app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698