Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Issue 1136403002: [Password Manager] Improve signature of PasswordManagerClient::IsPasswordSyncEnabled (Closed)

Created:
5 years, 7 months ago by vabr (Chromium)
Modified:
5 years, 7 months ago
Reviewers:
melandory
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[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 Committed: https://crrev.com/c885020e9b1a3523cd5682c53d69f4d6b499249e Cr-Commit-Position: refs/heads/master@{#329637}

Patch Set 1 #

Patch Set 2 : Fix the generation tests #

Total comments: 2

Patch Set 3 : SYNCING_NORMAL_ENCRYPTION #

Messages

Total messages: 11 (2 generated)
vabr (Chromium)
Hi Tanja, Could you please take a look? Thanks! Vaclav
5 years, 7 months ago (2015-05-13 12:34:53 UTC) #1
vabr (Chromium)
Ah, now I see the iOS failure. I'll fix it. Cheers, Vaclav
5 years, 7 months ago (2015-05-13 12:53:59 UTC) #2
vabr (Chromium)
On 2015/05/13 12:53:59, vabr (Chromium) wrote: > Ah, now I see the iOS failure. I'll ...
5 years, 7 months ago (2015-05-13 12:55:39 UTC) #3
melandory
lgtm with remark. https://codereview.chromium.org/1136403002/diff/20001/components/password_manager/core/browser/password_manager_client.h File components/password_manager/core/browser/password_manager_client.h (right): https://codereview.chromium.org/1136403002/diff/20001/components/password_manager/core/browser/password_manager_client.h#newcode30 components/password_manager/core/browser/password_manager_client.h:30: SYNCING_WITH_CUSTOM_PASSPHRASE nit: it's easy to accidentally ...
5 years, 7 months ago (2015-05-13 13:19:11 UTC) #4
vabr (Chromium)
I'll upload a new patch set momentarily. Thanks! Vaclav https://codereview.chromium.org/1136403002/diff/20001/components/password_manager/core/browser/password_manager_client.h File components/password_manager/core/browser/password_manager_client.h (right): https://codereview.chromium.org/1136403002/diff/20001/components/password_manager/core/browser/password_manager_client.h#newcode30 components/password_manager/core/browser/password_manager_client.h:30: ...
5 years, 7 months ago (2015-05-13 13:23:45 UTC) #5
melandory
On 2015/05/13 13:23:45, vabr (Chromium) wrote: > I'll upload a new patch set momentarily. > ...
5 years, 7 months ago (2015-05-13 13:34:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1136403002/40001
5 years, 7 months ago (2015-05-13 13:39:25 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-13 15:08:47 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 15:09:48 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c885020e9b1a3523cd5682c53d69f4d6b499249e
Cr-Commit-Position: refs/heads/master@{#329637}

Powered by Google App Engine
This is Rietveld 408576698