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

Unified Diff: components/sync_driver/device_info_service.h

Issue 1763953002: [USS] Change the place where SharedModelTypeProcessor got created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/device_info_service.h
diff --git a/components/sync_driver/device_info_service.h b/components/sync_driver/device_info_service.h
index 4ffc466802542029090ee4959a9219801efa4e6a..bf428651fb530158a27efabc8531006159e433c7 100644
--- a/components/sync_driver/device_info_service.h
+++ b/components/sync_driver/device_info_service.h
@@ -46,7 +46,8 @@ class DeviceInfoService : public syncer_v2::ModelTypeService,
DeviceInfoService(
sync_driver::LocalDeviceInfoProvider* local_device_info_provider,
- const StoreFactoryFunction& callback);
+ const StoreFactoryFunction& callback,
+ const SharedProcessorFactory& shared_processor_factory);
~DeviceInfoService() override;
// ModelTypeService implementation.
@@ -70,6 +71,7 @@ class DeviceInfoService : public syncer_v2::ModelTypeService,
void AddObserver(Observer* observer) override;
void RemoveObserver(Observer* observer) override;
int CountActiveDevices() const override;
+ syncer::ModelType type() const override;
skym 2016/03/22 15:56:26 You added this to the DeviceInfoTracker methods, w
private:
friend class DeviceInfoServiceTest;

Powered by Google App Engine
This is Rietveld 408576698