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

Issue 2604783002: Do not show the update bubble for sync credentials when a username is unknown. (Closed)

Created:
3 years, 12 months ago by dvadym
Modified:
3 years, 11 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not show the update bubble for sync credentials when a username is unknown. This CL introduced a checking of |provisionally_saved_credentials| for sync credentials, instead of |pending_credentials|. That's more correct, since |provisionally_saved_credentials| is the submitted form, on other hand |pending_credentials| is a combination of already saved and submitted form. In case of saving both these forms are the same, but for updating they are different. BUG=663896 Committed: https://crrev.com/68324d6be5b713650770ac5ff8a732eda4146916 Cr-Commit-Position: refs/heads/master@{#440844}

Patch Set 1 #

Total comments: 4

Patch Set 2 : test added #

Patch Set 3 : comment updated #

Total comments: 15

Patch Set 4 : Addressed comments #

Patch Set 5 : tiny fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -22 lines) Patch
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 1 chunk +11 lines, -9 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 2 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
dvadym
Hi Vaclav, Could you please review this CL? Regards, Vadym
3 years, 12 months ago (2016-12-27 12:13:05 UTC) #5
vabr (Chromium)
Hi Vadym, The code looks good. But could we add a test? Cheers, Vaclav https://codereview.chromium.org/2604783002/diff/1/components/password_manager/core/browser/password_form_manager.h ...
3 years, 12 months ago (2016-12-27 13:17:11 UTC) #6
dvadym
Thanks for comments Vaclav! I've addressed you comments and added a verification for the submitted ...
3 years, 12 months ago (2016-12-27 15:34:32 UTC) #9
vabr (Chromium)
Thanks, Vadym. LGTM with some comments. Cheers, Vaclav https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_form_manager.h#newcode179 components/password_manager/core/browser/password_form_manager.h:179: // ...
3 years, 12 months ago (2016-12-27 16:28:22 UTC) #10
dvadym
Thanks for review Vaclav! https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_form_manager.h#newcode179 components/password_manager/core/browser/password_form_manager.h:179: // Returns the provisionally saved ...
3 years, 12 months ago (2016-12-27 17:17:10 UTC) #13
vabr (Chromium)
Still LGTM, just one more nit. Thanks! Vaclav https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc#newcode598 components/password_manager/core/browser/password_manager_unittest.cc:598: // ...
3 years, 12 months ago (2016-12-27 18:23:56 UTC) #16
dvadym
https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc#newcode598 components/password_manager/core/browser/password_manager_unittest.cc:598: // Let's make |observed_form| not to be equal to ...
3 years, 12 months ago (2016-12-28 10:26:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2604783002/80001
3 years, 12 months ago (2016-12-28 10:26:40 UTC) #20
vabr (Chromium)
Thanks, an unconditional LGTM! :) https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/2604783002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc#newcode598 components/password_manager/core/browser/password_manager_unittest.cc:598: // Let's make |observed_form| ...
3 years, 12 months ago (2016-12-28 10:29:11 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 12 months ago (2016-12-28 11:55:27 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:48:53 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/68324d6be5b713650770ac5ff8a732eda4146916
Cr-Commit-Position: refs/heads/master@{#440844}

Powered by Google App Engine
This is Rietveld 408576698