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

Unified Diff: chrome/browser/ui/app_list/app_list_prefs_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
« no previous file with comments | « chrome/browser/ui/app_list/app_list_prefs.cc ('k') | chrome/browser/ui/app_list/app_list_prefs_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_prefs_factory.h
diff --git a/chrome/browser/ui/app_list/app_list_prefs_factory.h b/chrome/browser/ui/app_list/app_list_prefs_factory.h
index f137816240b8c97d70c3e0edfb6e42e2a65f6e64..84bcb154c7f6b23d646fff99421143e2c1228699 100644
--- a/chrome/browser/ui/app_list/app_list_prefs_factory.h
+++ b/chrome/browser/ui/app_list/app_list_prefs_factory.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_FACTORY_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
@@ -20,7 +21,7 @@ class AppListPrefsFactory : public BrowserContextKeyedServiceFactory {
static AppListPrefsFactory* GetInstance();
void SetInstanceForTesting(content::BrowserContext* context,
- scoped_ptr<AppListPrefs> prefs);
+ std::unique_ptr<AppListPrefs> prefs);
private:
friend struct base::DefaultSingletonTraits<AppListPrefsFactory>;
« no previous file with comments | « chrome/browser/ui/app_list/app_list_prefs.cc ('k') | chrome/browser/ui/app_list/app_list_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698