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

Issue 1735013004: CREDENTIAL: Only toggle 'skip_zero_click' state if API is used. (Closed)

Created:
4 years, 10 months ago by Mike West
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+watchlist-passwords_chromium.org, sdefresne+watch_chromium.org, tfarina, 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

CREDENTIAL: Only toggle 'skip_zero_click' state if API is used. Currently, we're toggling 'skip_zero_click' to 'false' if the user logs in successfully after autofill. We should restrict that a bit to ensure that the site understands the credential management API (and can therefore be assumed to explain to us when the user signs out). This patch adjusts the API's behavior to send the relevant PasswordForm to the client whenever it could have been handed over but wasn't. Upon successful autofill-based login with that same credential, the client is responsible for toggling its 'skip_zero_click' value, and for popping up the first-run experience if necessary. BUG=587440 R=vasilii@chromium.org,vabr@chromium.org Committed: https://crrev.com/ce3eee6988a1d901f47f95cf192b77874b85bdb2 Cr-Commit-Position: refs/heads/master@{#378190}

Patch Set 1 #

Total comments: 1

Patch Set 2 : vabr@ #

Total comments: 1

Patch Set 3 : Ugh. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -53 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 1 chunk +14 lines, -18 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 3 chunks +52 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc View 7 chunks +23 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 2 2 chunks +13 lines, -13 lines 0 comments Download
M components/password_manager/core/browser/password_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_password_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
Mike West
Mind taking a look? Based on my conversations with Sabine yesterday, I think this gets ...
4 years, 10 months ago (2016-02-26 14:23:00 UTC) #1
vabr (Chromium)
LGTM. Cheers, Vaclav https://codereview.chromium.org/1735013004/diff/1/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1735013004/diff/1/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2968 chrome/browser/password_manager/password_manager_browsertest.cc:2968: signin_form.skip_zero_click = true; nit: Any reason ...
4 years, 10 months ago (2016-02-26 14:50:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1735013004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1735013004/20001
4 years, 10 months ago (2016-02-26 14:55:12 UTC) #5
Mike West
On 2016/02/26 at 14:50:27, vabr wrote: > LGTM. > > Cheers, > Vaclav > > ...
4 years, 10 months ago (2016-02-26 14:55:50 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/187752)
4 years, 10 months ago (2016-02-26 15:29:47 UTC) #8
vasilii
lgtm https://codereview.chromium.org/1735013004/diff/20001/components/password_manager/core/browser/credential_manager_pending_request_task.cc File components/password_manager/core/browser/credential_manager_pending_request_task.cc (right): https://codereview.chromium.org/1735013004/diff/20001/components/password_manager/core/browser/credential_manager_pending_request_task.cc#newcode103 components/password_manager/core/browser/credential_manager_pending_request_task.cc:103: scoped_ptr<autofill::PasswordForm> potential_autosignin_form( move the definition down to where ...
4 years, 10 months ago (2016-02-26 15:42:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1735013004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1735013004/40001
4 years, 9 months ago (2016-02-29 09:28:31 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-02-29 10:34:44 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 10:35:56 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ce3eee6988a1d901f47f95cf192b77874b85bdb2
Cr-Commit-Position: refs/heads/master@{#378190}

Powered by Google App Engine
This is Rietveld 408576698