- // Isolates SessionsSyncManager from having to depend on sync internals.
- class SyncInternalApiDelegate {
- public:
- virtual ~SyncInternalApiDelegate() {}
-
- // 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<DeviceInfo> GetLocalDeviceInfo() const = 0;
-
- // Used for creation of the machine tag for this local session.
- virtual std::string GetLocalSyncCacheGUID() const = 0;
- };
-