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

Unified Diff: components/browser_sync/browser/profile_sync_service_unittest.cc

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. Created 4 years, 3 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/browser_sync/browser/profile_sync_service_unittest.cc
diff --git a/components/browser_sync/browser/profile_sync_service_unittest.cc b/components/browser_sync/browser/profile_sync_service_unittest.cc
index 1e637e452546c820d206f9cfa44e4ffbb67031c5..b438d5c2ed0fa52494bdb073d818b3d4cd8763bf 100644
--- a/components/browser_sync/browser/profile_sync_service_unittest.cc
+++ b/components/browser_sync/browser/profile_sync_service_unittest.cc
@@ -249,7 +249,8 @@ class ProfileSyncServiceTest : public ::testing::Test {
service_.reset(new ProfileSyncService(std::move(init_params)));
service_->RegisterDataTypeController(
- new sync_driver::FakeDataTypeController(syncer::BOOKMARKS));
+ base::MakeUnique<sync_driver::FakeDataTypeController>(
+ syncer::BOOKMARKS));
}
#if defined(OS_WIN) || defined(OS_MACOSX) || \

Powered by Google App Engine
This is Rietveld 408576698