ProfileSyncServiceHarness: Replace IsSyncDisabled by IsSyncEnabledByUser
"IsSyncDisabled" described neither what the method was trying to do, nor what it actually did. This CL flips it to "IsSyncEnabledByUser" (yay less negation), and also fixes its implementation to actually check that. This was exposed as an actual problem by https://crrev.com/c/1148392. Bug: 856179 Change-Id: I4219b5fa8d596edc80ed649983bc59198051c521 Reviewed-on: https://chromium-review.googlesource.com/1156599 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#579747}
Showing
Please register or sign in to comment