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

Unified Diff: components/user_prefs/tracked/hash_store_contents.h

Issue 1908143002: Convert //components/user_prefs from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the rightful glory of <windows.h> 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/user_prefs/tracked/hash_store_contents.h
diff --git a/components/user_prefs/tracked/hash_store_contents.h b/components/user_prefs/tracked/hash_store_contents.h
index 94131ab77e843f780ee59c4fc0f6e64e8eb4a0c2..94323843cc18e573eb6269ca411d977cb3ff174b 100644
--- a/components/user_prefs/tracked/hash_store_contents.h
+++ b/components/user_prefs/tracked/hash_store_contents.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_USER_PREFS_TRACKED_HASH_STORE_CONTENTS_H_
#define COMPONENTS_USER_PREFS_TRACKED_HASH_STORE_CONTENTS_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace base {
class DictionaryValue;
@@ -50,7 +50,7 @@ class HashStoreContents {
virtual const base::DictionaryValue* GetContents() const = 0;
// Provides mutable access to the contents of this hash store.
- virtual scoped_ptr<MutableDictionary> GetMutableContents() = 0;
+ virtual std::unique_ptr<MutableDictionary> GetMutableContents() = 0;
// Retrieves the super MAC value previously stored by SetSuperMac. May be
// empty if no super MAC has been stored.

Powered by Google App Engine
This is Rietveld 408576698