- // SyncInternalApiDelegate implementation.
- //
- // Returns sync's representation of the local device info.
- // Return value is an empty scoped_ptr if the device info is unavailable.
- virtual scoped_ptr<browser_sync::DeviceInfo> GetLocalDeviceInfo()
- const OVERRIDE;
-
- // Gets the guid for the local device. Can be used by other layers to
- // to distinguish sync data that belongs to the local device vs data
- // that belongs to remote devices. Returns empty string if sync is not
- // initialized. The GUID is not persistent across Chrome signout/signin.
- // If you sign out of Chrome and sign in, a new GUID is generated.
- virtual std::string GetLocalSyncCacheGUID() const OVERRIDE;
+ // Returns DeviceInfo provider for the local device.
+ virtual browser_sync::LocalDeviceInfoProvider* GetLocalDeviceInfoProvider();