| Index: components/sync/driver/sync_service.h
|
| diff --git a/components/sync/driver/sync_service.h b/components/sync/driver/sync_service.h
|
| index a07f5d5e43e1cac3fb39857c034f5453068bd530..364ec9981be1d6f86998191268f7684ce33bb7dc 100644
|
| --- a/components/sync/driver/sync_service.h
|
| +++ b/components/sync/driver/sync_service.h
|
| @@ -108,6 +108,12 @@ class SyncService : public DataTypeEncryptionHandler {
|
| // datetypes are actually syncing, see GetActiveTypes() below.
|
| virtual bool IsSyncActive() const = 0;
|
|
|
| + // Returns true if the local sync backend server has been enabled through a
|
| + // command line flag or policy. In this case sync is considered active but any
|
| + // implied consent for further related services e.g. Suggestions, Web History
|
| + // etc. is considered not granted.
|
| + virtual bool IsLocalSyncEnabled() const = 0;
|
| +
|
| // Triggers a GetUpdates call for the specified |types|, pulling any new data
|
| // from the sync server.
|
| virtual void TriggerRefresh(const ModelTypeSet& types) = 0;
|
|
|