Replace SyncService::State::WAITING_FOR_CONSENT by PENDING_DESIRED_CONFIGURATION
This makes more sense to describe the actual state of the SyncService (rather than the reason for it). Presence or absence of consent isn't part of the SyncService state. It'll also make it easier to decouple Sync-the-machinery from Sync-the-feature, since the concept of consent doesn't apply for the machinery. In practice, WAITING_FOR_CONSENT and PENDING_DESIRED_CONFIGURATION are almost equivalent, but they are defined in different terms. Bug: 839834, 856179 Change-Id: I5fc20a1359bd302cae233a5bce9b25bda2681e2b Reviewed-on: https://chromium-review.googlesource.com/1141804 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#576091}
Showing
Please register or sign in to comment