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

Unified Diff: components/user_prefs/tracked/tracked_preferences_migration.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/tracked_preferences_migration.h
diff --git a/components/user_prefs/tracked/tracked_preferences_migration.h b/components/user_prefs/tracked/tracked_preferences_migration.h
index fecc002265752f9ea7ef1a785f39f7d18f52ce84..3b5939228bbb8be5e44cfa384147a3332e9ac640 100644
--- a/components/user_prefs/tracked/tracked_preferences_migration.h
+++ b/components/user_prefs/tracked/tracked_preferences_migration.h
@@ -5,11 +5,11 @@
#ifndef COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCES_MIGRATION_H_
#define COMPONENTS_USER_PREFS_TRACKED_TRACKED_PREFERENCES_MIGRATION_H_
+#include <memory>
#include <set>
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "components/user_prefs/tracked/pref_hash_store.h"
class HashStoreContents;
@@ -39,9 +39,9 @@ void SetupTrackedPreferencesMigration(
register_on_successful_unprotected_store_write_callback,
const base::Callback<void(const base::Closure&)>&
register_on_successful_protected_store_write_callback,
- scoped_ptr<PrefHashStore> unprotected_pref_hash_store,
- scoped_ptr<PrefHashStore> protected_pref_hash_store,
- scoped_ptr<HashStoreContents> legacy_pref_hash_store,
+ std::unique_ptr<PrefHashStore> unprotected_pref_hash_store,
+ std::unique_ptr<PrefHashStore> protected_pref_hash_store,
+ std::unique_ptr<HashStoreContents> legacy_pref_hash_store,
InterceptablePrefFilter* unprotected_pref_filter,
InterceptablePrefFilter* protected_pref_filter);

Powered by Google App Engine
This is Rietveld 408576698