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

Unified Diff: components/filesystem/public/cpp/prefs/pref_service_factory.h

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: … 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: components/filesystem/public/cpp/prefs/pref_service_factory.h
diff --git a/components/filesystem/public/cpp/prefs/pref_service_factory.h b/components/filesystem/public/cpp/prefs/pref_service_factory.h
index 55b4ad6d361a8366cf6073d236dc6502548b76e5..cee2631a8a3e081433c17a6353288ac6fa2a6a2e 100644
--- a/components/filesystem/public/cpp/prefs/pref_service_factory.h
+++ b/components/filesystem/public/cpp/prefs/pref_service_factory.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_FILESYSTEM_PUBLIC_CPP_PREFS_PREF_SERVICE_FACTORY_H_
#define COMPONENTS_FILESYSTEM_PUBLIC_CPP_PREFS_PREF_SERVICE_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "components/prefs/pref_service.h"
namespace mojo {
@@ -19,8 +20,8 @@ namespace filesystem {
// This factory method creates a PrefService for the local process based on the
// preference registry passed in. This PrefService will synchronize with a JSON
// file in the mojo:filesystem.
-scoped_ptr<PrefService> CreatePrefService(shell::Connector* connector,
- PrefRegistry* registry);
+std::unique_ptr<PrefService> CreatePrefService(shell::Connector* connector,
+ PrefRegistry* registry);
} // namespace filesystem

Powered by Google App Engine
This is Rietveld 408576698