[Password Manager] Improve signature of PasswordManagerClient::IsPasswordSyncEnabled
Currently, IsPasswordSyncEnabled needs to know if the caller is interested in syncing passwords with a custom passphrase or without, and returns a Boolean depending on whether the expected syncing occurs or not. This CL gets rid of the need to pass the expectation, and changes the Boolean return value to say: no password sync, p.s. without a custom passphrase, or p.s. with a custom passphrase. It also changes the name of the method and the associated enum to make sense with the new signature. This is a cosmetic change, but will make a subsequent CL easier to digest. R=melandory@chromium.org BUG=400674,486739 Review URL: https://codereview.chromium.org/1136403002 Cr-Commit-Position: refs/heads/master@{#329637}
Showing
Please register or sign in to comment