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

Issue 1490193003: [Password Manager] Update Confirmation UI for saved password change for Chrome on Android. (Closed)

Created:
5 years ago by melandory
Modified:
4 years, 10 months ago
CC:
sabineb, chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_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] Update Confirmation UI for for Chrome on Android. This CL contains implementation of the Update password infobar: 1.For confirmation from the user that he/she changed password in case when the user has only one credentials for current site. In case saved credentials have a username we present the user with that username in the infobar message and ask is the user what to update password which is corresponding to this username. In case there is no username saved, we're asking user if saved password for this site should be updated or not. 2.For selecting by user which credentials should be updated after change password form submission in case when the user has more than one credentials and we have no clue which credentials is correct. It contains a selector with a list of all credentials for current site. Mocks: https://folio.googleplex.com/chrome-ux/mocks/321-password-manager/password%20update/mobile#%2Fpassword%20update%20-%20mobile.png%3Fbg=dkgray&c=show BUG=564674 Committed: https://crrev.com/f5bf9e8f3672962246c4efa694f0496cf87bbb1d Cr-Commit-Position: refs/heads/master@{#377260}

Patch Set 1 #

Patch Set 2 : Rebased on top of master. #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 21

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Total comments: 26

Patch Set 8 : #

Total comments: 42

Patch Set 9 : #

Total comments: 22

Patch Set 10 : #

Total comments: 28

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -4 lines) Patch
A chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java View 1 2 3 4 5 6 7 8 1 chunk +130 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -1 line 0 comments Download
A chrome/browser/password_manager/update_password_infobar_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/password_manager/update_password_infobar_delegate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +100 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/update_password_infobar.h View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/update_password_infobar.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +68 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M components/infobars/core/infobar_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 72 (35 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/20001
5 years ago (2015-12-23 08:38:17 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/111022) ios_rel_device_ninja on ...
5 years ago (2015-12-23 08:39:48 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/140001
4 years, 11 months ago (2016-01-13 08:49:03 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/7365)
4 years, 11 months ago (2016-01-13 09:00:33 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/160001
4 years, 11 months ago (2016-01-13 09:02:55 UTC) #16
melandory
Hi Vaclav, PTAL at files in password_manager/
4 years, 11 months ago (2016-01-13 09:03:07 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/164279)
4 years, 11 months ago (2016-01-13 09:13:56 UTC) #20
vabr (Chromium)
chrome/browser/password_manager/* LGTM with comments. https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc File chrome/browser/password_manager/update_password_infobar_delegate.cc (right): https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc#newcode32 chrome/browser/password_manager/update_password_infobar_delegate.cc:32: UpdatePasswordInfoBarDelegate* update_password_infobar_delegate = Please make ...
4 years, 11 months ago (2016-01-13 09:44:46 UTC) #21
vabr (Chromium)
Also one more comment: the CL description will need more care and detail. In particular, ...
4 years, 11 months ago (2016-01-13 11:09:13 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/180001
4 years, 11 months ago (2016-01-13 13:50:45 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/7434)
4 years, 11 months ago (2016-01-13 14:10:47 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/200001
4 years, 11 months ago (2016-01-13 15:10:32 UTC) #30
melandory
https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc File chrome/browser/password_manager/update_password_infobar_delegate.cc (right): https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc#newcode32 chrome/browser/password_manager/update_password_infobar_delegate.cc:32: UpdatePasswordInfoBarDelegate* update_password_infobar_delegate = On 2016/01/13 09:44:45, vabr (Chromium) wrote: ...
4 years, 11 months ago (2016-01-13 15:11:37 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-13 16:03:59 UTC) #33
vabr (Chromium)
Still LGTM, some minor comments. Cheers, Vaclav https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc File chrome/browser/password_manager/update_password_infobar_delegate.cc (right): https://codereview.chromium.org/1490193003/diff/160001/chrome/browser/password_manager/update_password_infobar_delegate.cc#newcode32 chrome/browser/password_manager/update_password_infobar_delegate.cc:32: UpdatePasswordInfoBarDelegate* update_password_infobar_delegate ...
4 years, 11 months ago (2016-01-13 16:04:35 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/240001
4 years, 11 months ago (2016-01-25 16:14:43 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/169705)
4 years, 11 months ago (2016-01-25 17:21:51 UTC) #38
melandory
dfalcantara@chromium.org: Please review changes in chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java chrome/android/java/strings/android_chrome_strings.grd chrome/browser/android/chrome_jni_registrar.cc chrome/browser/ui/android/infobars/update_password_infobar.h chrome/browser/ui/android/infobars/update_password_infobar.cc
4 years, 11 months ago (2016-01-26 09:42:56 UTC) #40
gone
https://chromiumcodereview.appspot.com/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java (right): https://chromiumcodereview.appspot.com/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java#newcode26 chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java:26: private long mNativePtr; private final long mNativePtr; final everywhere ...
4 years, 11 months ago (2016-01-26 19:59:22 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/280001
4 years, 10 months ago (2016-01-29 08:50:08 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/14751)
4 years, 10 months ago (2016-01-29 09:45:04 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/300001
4 years, 10 months ago (2016-01-29 15:42:08 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/320001
4 years, 10 months ago (2016-01-29 15:46:51 UTC) #51
melandory
https://codereview.chromium.org/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java (right): https://codereview.chromium.org/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java#newcode26 chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java:26: private long mNativePtr; On 2016/01/26 19:59:22, dfalcantara wrote: > ...
4 years, 10 months ago (2016-01-29 15:56:14 UTC) #53
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 16:55:56 UTC) #55
gone
Good to go. lgtm https://codereview.chromium.org/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java (right): https://codereview.chromium.org/1490193003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java#newcode105 chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java:105: createUsernameMessageText(item.getItemId()), TextView.BufferType.SPANNABLE); On 2016/01/29 15:56:14, ...
4 years, 10 months ago (2016-01-29 18:31:24 UTC) #56
melandory
pkasting@chromium.org: Please review changes in components/infobars/core/infobar_delegate.h
4 years, 10 months ago (2016-02-02 14:32:36 UTC) #58
Peter Kasting
https://codereview.chromium.org/1490193003/diff/320001/chrome/browser/password_manager/update_password_infobar_delegate.cc File chrome/browser/password_manager/update_password_infobar_delegate.cc (right): https://codereview.chromium.org/1490193003/diff/320001/chrome/browser/password_manager/update_password_infobar_delegate.cc#newcode51 chrome/browser/password_manager/update_password_infobar_delegate.cc:51: base::string16 branding_ = l10n_util::GetStringUTF16( This aliases the member. I ...
4 years, 10 months ago (2016-02-03 00:56:28 UTC) #59
melandory
https://codereview.chromium.org/1490193003/diff/320001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java (right): https://codereview.chromium.org/1490193003/diff/320001/chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java#newcode31 chrome/android/java/src/org/chromium/chrome/browser/infobar/UpdatePasswordInfoBar.java:31: private final SpannableString mBrandingSpan; On 2016/01/29 18:31:24, dfalcantara wrote: ...
4 years, 10 months ago (2016-02-12 19:19:37 UTC) #60
Peter Kasting
https://codereview.chromium.org/1490193003/diff/320001/chrome/browser/password_manager/update_password_infobar_delegate.cc File chrome/browser/password_manager/update_password_infobar_delegate.cc (right): https://codereview.chromium.org/1490193003/diff/320001/chrome/browser/password_manager/update_password_infobar_delegate.cc#newcode65 chrome/browser/password_manager/update_password_infobar_delegate.cc:65: return GetCurrentForms().size() > 1 && !is_password_overriden; On 2016/02/12 19:19:36, ...
4 years, 10 months ago (2016-02-13 01:44:52 UTC) #61
melandory
https://codereview.chromium.org/1490193003/diff/340001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/1490193003/diff/340001/chrome/android/java/strings/android_chrome_strings.grd#newcode2339 chrome/android/java/strings/android_chrome_strings.grd:2339: <message name="IDS_UPDATE_PASSWORD" desc="The title of the update password infobar."> ...
4 years, 10 months ago (2016-02-22 12:41:09 UTC) #62
Peter Kasting
https://codereview.chromium.org/1490193003/diff/360001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/1490193003/diff/360001/chrome/android/java/strings/android_chrome_strings.grd#newcode2367 chrome/android/java/strings/android_chrome_strings.grd:2367: <message name="IDS_UPDATE_PASSWORD" desc="A message shown to users to allow ...
4 years, 10 months ago (2016-02-22 22:38:13 UTC) #63
melandory
https://codereview.chromium.org/1490193003/diff/360001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/1490193003/diff/360001/chrome/android/java/strings/android_chrome_strings.grd#newcode2367 chrome/android/java/strings/android_chrome_strings.grd:2367: <message name="IDS_UPDATE_PASSWORD" desc="A message shown to users to allow ...
4 years, 10 months ago (2016-02-23 16:35:08 UTC) #64
Peter Kasting
LGTM other than that question about colloquial language
4 years, 10 months ago (2016-02-24 02:10:52 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490193003/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490193003/400001
4 years, 10 months ago (2016-02-24 09:22:59 UTC) #68
commit-bot: I haz the power
Committed patchset #12 (id:400001)
4 years, 10 months ago (2016-02-24 10:39:25 UTC) #70
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 10:40:57 UTC) #72
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/f5bf9e8f3672962246c4efa694f0496cf87bbb1d
Cr-Commit-Position: refs/heads/master@{#377260}

Powered by Google App Engine
This is Rietveld 408576698