Index: components/prefs/writeable_pref_store.h |
diff --git a/components/prefs/writeable_pref_store.h b/components/prefs/writeable_pref_store.h |
index 0cb9f83d7b36042e30051fb2b7e34e8c7dbc595e..6cfbcee32d80104b5a1235662a09ee29580b6783 100644 |
--- a/components/prefs/writeable_pref_store.h |
+++ b/components/prefs/writeable_pref_store.h |
@@ -7,10 +7,10 @@ |
#include <stdint.h> |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "components/prefs/pref_store.h" |
namespace base { |
@@ -36,7 +36,7 @@ class COMPONENTS_PREFS_EXPORT WriteablePrefStore : public PrefStore { |
// Sets a |value| for |key| in the store. |value| must be non-NULL. |flags| is |
// a bitmask of PrefWriteFlags. |
virtual void SetValue(const std::string& key, |
- scoped_ptr<base::Value> value, |
+ std::unique_ptr<base::Value> value, |
uint32_t flags) = 0; |
// Removes the value for |key|. |
@@ -59,7 +59,7 @@ class COMPONENTS_PREFS_EXPORT WriteablePrefStore : public PrefStore { |
// tests rely on the number of notifications generated. |flags| is a bitmask |
// of PrefWriteFlags. |
virtual void SetValueSilently(const std::string& key, |
- scoped_ptr<base::Value> value, |
+ std::unique_ptr<base::Value> value, |
uint32_t flags) = 0; |
protected: |