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

Issue 245563005: Passwords PSL Matching on Gnome: overwrite realm and origin (Closed)

Created:
6 years, 8 months ago by vabr (Chromium)
Modified:
6 years, 8 months ago
Reviewers:
Garrett Casto
CC:
chromium-reviews
Visibility:
Public.

Description

Passwords PSL Matching on Gnome: overwrite realm and origin On LoginDatabase using platforms, a password entry found by a PSL match gets the signon realm and the origin overwritten to match the query password form. This way, when the credential is saved, it is saved for the new site. On Gnome, the overwriting did not happen. This CL introduces this to match the LoginDatabase behaviour. Also, on Gnome, PSL matching was used not only to get logins, but also to check for existing logins when adding and updating passwords. The latter two use cases should require exact matching (that's also what happens in LoginDatabase). This CL fixes that, and only keeps PSL matching for GetLogins. BUG=364745 R=gcasto@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266177

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Comment about AddLogin added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -45 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.cc View 10 chunks +28 lines, -20 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 5 chunks +164 lines, -25 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
vabr (Chromium)
Hi Garrett, PTAL. I'm sorry to have squashed two semi-independent changes into one CL. If ...
6 years, 8 months ago (2014-04-21 21:20:13 UTC) #1
vabr (Chromium)
On 2014/04/21 21:20:13, vabr (Chromium) wrote: > Hi Garrett, > > PTAL. > > I'm ...
6 years, 8 months ago (2014-04-23 13:13:06 UTC) #2
Garrett Casto
lgtm https://codereview.chromium.org/245563005/diff/20001/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc File chrome/browser/password_manager/native_backend_gnome_x_unittest.cc (right): https://codereview.chromium.org/245563005/diff/20001/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc#newcode452 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc:452: // the credential update is done via UpdateLogin ...
6 years, 8 months ago (2014-04-24 06:15:24 UTC) #3
vabr (Chromium)
Thanks, Garrett. Addressed your (review) comment with a (code) comment, and sending to CQ now. ...
6 years, 8 months ago (2014-04-24 08:33:47 UTC) #4
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-24 08:33:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/245563005/40001
6 years, 8 months ago (2014-04-24 08:34:58 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 09:25:33 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-24 09:25:33 UTC) #8
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-24 10:03:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/245563005/40001
6 years, 8 months ago (2014-04-24 11:03:29 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 11:31:09 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-24 11:31:10 UTC) #12
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-24 12:18:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/245563005/40001
6 years, 8 months ago (2014-04-24 12:18:22 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 17:13:09 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-24 17:13:09 UTC) #16
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-25 08:31:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/245563005/40001
6 years, 8 months ago (2014-04-25 08:34:10 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 08:58:42 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-25 08:58:44 UTC) #20
vabr (Chromium)
6 years, 8 months ago (2014-04-25 09:32:31 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 manually as r266177 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698