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

Unified Diff: components/sync/driver/fake_sync_service.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
« no previous file with comments | « components/sync/driver/fake_sync_service.h ('k') | components/sync/driver/frontend_data_type_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/fake_sync_service.cc
diff --git a/components/sync/driver/fake_sync_service.cc b/components/sync/driver/fake_sync_service.cc
index 5f12a7dffa2cabc727130348c23b36317e88f822..a67c48da6a6751d0659ebc813a50c3fabd0921fa 100644
--- a/components/sync/driver/fake_sync_service.cc
+++ b/components/sync/driver/fake_sync_service.cc
@@ -8,6 +8,7 @@
#include "base/values.h"
#include "components/sync/core/base_transaction.h"
#include "components/sync/core/user_share.h"
+#include "components/sync/driver/data_type_controller.h"
#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
namespace sync_driver {
@@ -140,7 +141,7 @@ LocalDeviceInfoProvider* FakeSyncService::GetLocalDeviceInfoProvider() const {
}
void FakeSyncService::RegisterDataTypeController(
- sync_driver::DataTypeController* data_type_controller) {}
+ std::unique_ptr<sync_driver::DataTypeController> data_type_controller) {}
void FakeSyncService::ReenableDatatype(syncer::ModelType type) {}
« no previous file with comments | « components/sync/driver/fake_sync_service.h ('k') | components/sync/driver/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698