Evaluate SyncService's "Sync requested" flag and RequestStart/RequestStop |
||
Issue descriptionSyncService currently exposes RequestStart(), RequestStop(), and IsSyncRequested(). The "Sync requested" flag is stored in prefs, and RequestStart/RequestStop set it to true/false. It's also true by default. It's not clear to me what purpose all this serves: RequestStart/RequestStop supposedly correspond to the user requesting sync startup/shutdown, but as far as I can tell there's no actual UI for that. In practice, it seems that Sync gets started iff there is a signed-in-to-Chrome user - there's no signed-in-to-Chrome-but-Sync-disabled state. (You can turn off the "Sync everything" toggle and a bunch of individual data types, but the Sync machinery will still be running - there's no actual master toggle.) [Caveat: The above is mostly about desktop and ChromeOS - maybe there actually is a toggle on Android?] Somewhat related to bug 839834 .
,
Jun 13 2018
Okay, I found *one* situation in which the user can be signed in, but have Sync disabled: After a "clear all Sync data" on the dashboard. This currently only applies to ChromeOS, since on all other platforms we also sign out the user. (That might change though, see bug 246839.)
,
Jun 19 2018
It's also possible to get into this state on Android via the OS-level "ChromeSync" flag. So nothing to be done here :-/ |
||
►
Sign in to add a comment |
||
Comment 1 by treib@chromium.org
, Jun 13 2018