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

Unified Diff: components/sync_driver/startup_controller_unittest.cc

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix, address feedback 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/sync_driver/startup_controller_unittest.cc
diff --git a/components/sync_driver/startup_controller_unittest.cc b/components/sync_driver/startup_controller_unittest.cc
index 2c2207664c565c5ce47b26ec6f5fd6dac137dfa6..eb83d9da3b686dcf14de54525797a69cdf5ee6c5 100644
--- a/components/sync_driver/startup_controller_unittest.cc
+++ b/components/sync_driver/startup_controller_unittest.cc
@@ -82,8 +82,8 @@ class StartupControllerTest : public testing::Test {
bool started_;
base::MessageLoop message_loop_;
syncable_prefs::TestingPrefServiceSyncable pref_service_;
- scoped_ptr<sync_driver::SyncPrefs> sync_prefs_;
- scoped_ptr<StartupController> controller_;
+ std::unique_ptr<sync_driver::SyncPrefs> sync_prefs_;
+ std::unique_ptr<StartupController> controller_;
};
// Test that sync doesn't start until all conditions are met.
« no previous file with comments | « components/sync_driver/shared_change_processor_unittest.cc ('k') | components/sync_driver/sync_api_component_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698