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

Issue 1181623004: [Password Manager] Replace "this site" in save password prompt with password's origin. (Closed)

Created:
5 years, 6 months ago by Pritam Nikam
Modified:
5 years, 5 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, tfarina, vabr+watchlist_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] Replace "this site" in save password prompt with password's origin. Save password prompt's "this site" may not correspond to the landing site's origin. In that case, this CL replaces "this site" with the correct origin. BUG=435152 Committed: https://crrev.com/6bc47cb775c0f17d3f5b907358bcac9d07de803d Cr-Commit-Position: refs/heads/master@{#337434}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : Added unit tests. #

Patch Set 4 : Just a code rebase. #

Total comments: 10

Patch Set 5 : Addresses Chris's review comments. #

Total comments: 8

Patch Set 6 : Addresses Vaclav's review comments. #

Total comments: 5

Patch Set 7 : clang formated "manage_passwords_view_utils_unittest.cc". #

Patch Set 8 : Moved to generated_resources.grd. #

Patch Set 9 : Fix for Windows bot. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -29 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 2 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.cc View 1 2 3 4 5 4 chunks +12 lines, -17 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_view_utils.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_view_utils.cc View 1 2 2 chunks +45 lines, -0 lines 0 comments Download
A chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
Pritam Nikam
On 2015/06/23 13:48:41, Pritam Nikam wrote: > mailto:pritam.nikam@samsung.com changed reviewers: > + mailto:vivek.vg@samsung.com Hi Vivek, ...
5 years, 6 months ago (2015-06-23 13:56:20 UTC) #6
vivekg
As discussed offline, can you please update the bug with your findings and lets continue? ...
5 years, 6 months ago (2015-06-23 14:38:02 UTC) #8
Pritam Nikam
Thanks Vivek for your inputs. I've removed dependency on WebContents as its no longer needed. ...
5 years, 6 months ago (2015-06-25 08:59:14 UTC) #10
Pritam Nikam
Hi Vaclav & Chris, These changes tested on Linux and Android, PTAL! Thanks!
5 years, 6 months ago (2015-06-26 14:59:04 UTC) #12
palmer
Just a few tweaks. Looks good overall. Thanks! https://codereview.chromium.org/1181623004/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1181623004/diff/140001/chrome/app/generated_resources.grd#newcode15697 chrome/app/generated_resources.grd:15697: + ...
5 years, 6 months ago (2015-06-26 17:59:58 UTC) #13
Pritam Nikam
Thanks Chris, I've incorporated review comments in new patch set, ptal. Thanks! https://codereview.chromium.org/1181623004/diff/140001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd ...
5 years, 5 months ago (2015-06-27 10:10:03 UTC) #14
vabr (Chromium)
Thanks, Pritam Nikam, for your work on this. The CL looks good, but I have ...
5 years, 5 months ago (2015-06-29 11:49:08 UTC) #15
vabr (Chromium)
+ minor comment to the CL description and title: The title should say what the ...
5 years, 5 months ago (2015-06-29 11:53:58 UTC) #16
Pritam Nikam
Thanks Vaclav for inputs. I've incorporated these along new patch set, ptal. Thanks! https://codereview.chromium.org/1181623004/diff/150001/chrome/app/chromium_strings.grd File ...
5 years, 5 months ago (2015-06-29 17:42:13 UTC) #17
vabr (Chromium)
Thanks, this LGTM modulo clarifying [1] with Chris, and the comment below. Cheers, Vaclav [1] ...
5 years, 5 months ago (2015-06-30 10:47:10 UTC) #18
Pritam Nikam
Thanks Vaclav! https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc File chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc (right): https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc#newcode22 chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc:22: } test_cases[] = {// Same domains. On ...
5 years, 5 months ago (2015-06-30 15:26:06 UTC) #19
vabr (Chromium)
Thanks, Pritam. @palmer: Could we clarify https://codereview.chromium.org/1181623004/diff/150001/chrome/app/chromium_strings.grd#newcode1398 ? Thanks! Vaclav https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc File chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc (right): https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc#newcode22 ...
5 years, 5 months ago (2015-07-01 08:42:21 UTC) #20
vabr (Chromium)
https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc File chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc (right): https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc#newcode22 chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc:22: } test_cases[] = {// Same domains. On 2015/07/01 08:42:21, ...
5 years, 5 months ago (2015-07-01 08:52:37 UTC) #21
Pritam Nikam
Thanks Vaclav! https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc File chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc (right): https://codereview.chromium.org/1181623004/diff/170001/chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc#newcode22 chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc:22: } test_cases[] = {// Same domains. On ...
5 years, 5 months ago (2015-07-01 10:01:53 UTC) #22
vabr (Chromium)
Thanks, Pritam Nikam! I have no more concerns other than the location of IDS_SAVE_PASSWORD_TITLE. You ...
5 years, 5 months ago (2015-07-02 07:22:35 UTC) #23
Pritam Nikam
On 2015/07/02 07:22:35, vabr (Chromium) wrote: > Thanks, Pritam Nikam! > > I have no ...
5 years, 5 months ago (2015-07-02 10:59:19 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181623004/210001
5 years, 5 months ago (2015-07-02 10:59:52 UTC) #27
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years, 5 months ago (2015-07-02 11:30:38 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181623004/230001
5 years, 5 months ago (2015-07-06 18:10:10 UTC) #32
commit-bot: I haz the power
Committed patchset #9 (id:230001)
5 years, 5 months ago (2015-07-06 19:16:54 UTC) #33
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/6bc47cb775c0f17d3f5b907358bcac9d07de803d Cr-Commit-Position: refs/heads/master@{#337434}
5 years, 5 months ago (2015-07-06 19:17:46 UTC) #34
lgarron
https://codereview.chromium.org/1181623004/diff/230001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1181623004/diff/230001/chrome/app/generated_resources.grd#newcode15778 chrome/app/generated_resources.grd:15778: + <message name="IDS_SAVE_PASSWORD_TITLE" desc="The title of the save passwo ...
5 years, 5 months ago (2015-07-06 20:14:46 UTC) #35
Pritam Nikam
5 years, 5 months ago (2015-07-06 20:35:46 UTC) #36
Message was sent while issue was closed.
Thanks lgarron for pointing out typo.

follow-up cl. [https://codereview.chromium.org/1216673007], ptal.

Thanks!

https://codereview.chromium.org/1181623004/diff/230001/chrome/app/generated_r...
File chrome/app/generated_resources.grd (right):

https://codereview.chromium.org/1181623004/diff/230001/chrome/app/generated_r...
chrome/app/generated_resources.grd:15778: +      <message
name="IDS_SAVE_PASSWORD_TITLE" desc="The title of the save passwo rd bubble when
a password can be saved.">
On 2015/07/06 20:14:46, lgarron wrote:
> "passwo rd"

Acknowledged.

I've submitted a follow-up cl. [https://codereview.chromium.org/1216673007]

Powered by Google App Engine
This is Rietveld 408576698