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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments 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: chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc
index 5bf6f2e7534305e82a432a57fd335102a3dd988e..af6fbaa54a3268c966b065faaaa599e7ce344927 100644
--- a/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc
@@ -62,7 +62,7 @@ class PlatformStateStoreWinTest : public ::testing::Test {
new_profile ? PersistentPrefStore::PREF_READ_ERROR_NO_FILE
: PersistentPrefStore::PREF_READ_ERROR_NONE);
// Ownership of |user_pref_store| is passed to the service.
- scoped_ptr<syncable_prefs::TestingPrefServiceSyncable> prefs(
+ std::unique_ptr<syncable_prefs::TestingPrefServiceSyncable> prefs(
new syncable_prefs::TestingPrefServiceSyncable(
new TestingPrefStore(), user_pref_store, new TestingPrefStore(),
new user_prefs::PrefRegistrySyncable(), new PrefNotifierImpl()));

Powered by Google App Engine
This is Rietveld 408576698