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

Issue 2141513002: [Password Generation] Checks the existence of the form even if the password was generated (Closed)

Created:
4 years, 5 months ago by kolos1
Modified:
4 years, 5 months ago
Reviewers:
dvadym
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Generation] Checks the existence of the signin/signup form even if the password was generated After this CL (https://codereview.chromium.org/1237543002), if the password was generated, there is no check whether the forms still exists. It was introduced to be sure Chrome saves the generated password. The disadvantage of it is that we send a positive vote to the server even if the login was failed (the vote says generation was successful). This CL (https://codereview.chromium.org/1817483002/) introduced the presaving of generated password (i.e. save generated password right after generation and update it after every user input). Thus, we are sure that the generated password was saved. No need in the first CL (https://codereview.chromium.org/1237543002). Let remove its code since it distorts votes statistics. BUG=552420 Committed: https://crrev.com/87a189f1566ce8cf72b77dac8cb54ec6bc4ab27c Cr-Commit-Position: refs/heads/master@{#405093}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -40 lines) Patch
M components/password_manager/core/browser/password_manager.cc View 1 1 chunk +8 lines, -12 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 3 chunks +8 lines, -28 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
kolos1
4 years, 5 months ago (2016-07-11 11:20:26 UTC) #5
dvadym
Thanks for fixing this, changes in code looks good. I have a comment about changes ...
4 years, 5 months ago (2016-07-11 11:46:40 UTC) #6
kolos1
https://codereview.chromium.org/2141513002/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/2141513002/diff/40001/components/password_manager/core/browser/password_manager_unittest.cc#newcode1127 components/password_manager/core/browser/password_manager_unittest.cc:1127: OnPasswordFormSubmitted(form); On 2016/07/11 11:46:40, dvadym wrote: > I'm not ...
4 years, 5 months ago (2016-07-11 12:09:58 UTC) #9
dvadym
LGTM
4 years, 5 months ago (2016-07-11 12:16:51 UTC) #10
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/2141513002/100001
4 years, 5 months ago (2016-07-13 08:05:32 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 5 months ago (2016-07-13 08:51:17 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 08:51:23 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 08:53:49 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/87a189f1566ce8cf72b77dac8cb54ec6bc4ab27c
Cr-Commit-Position: refs/heads/master@{#405093}

Powered by Google App Engine
This is Rietveld 408576698