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

Unified Diff: chrome/browser/ui/app_list/search/search_controller_factory.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/search_controller_factory.h
diff --git a/chrome/browser/ui/app_list/search/search_controller_factory.h b/chrome/browser/ui/app_list/search/search_controller_factory.h
index 8acac129e05afda9af49fb6378e1d431f953c2dd..966a87e09dee70d575decfee36508006c25c3bb7 100644
--- a/chrome/browser/ui/app_list/search/search_controller_factory.h
+++ b/chrome/browser/ui/app_list/search/search_controller_factory.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_CONTROLLER_FACTORY_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_SEARCH_CONTROLLER_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/app_list/app_list_model.h"
class AppListControllerDelegate;
@@ -17,7 +18,7 @@ class SearchBoxModel;
class SearchController;
// Build a SearchController instance with the profile.
-scoped_ptr<SearchController> CreateSearchController(
+std::unique_ptr<SearchController> CreateSearchController(
Profile* profile,
AppListModel* model,
AppListControllerDelegate* list_controller);
« no previous file with comments | « chrome/browser/ui/app_list/search/people/person.cc ('k') | chrome/browser/ui/app_list/search/search_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698