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

Issue 508143002: Remove Finch kill switch for PSL matching (Closed)

Created:
6 years, 3 months ago by vabr (Chromium)
Modified:
6 years, 3 months ago
Reviewers:
nyquist, Ilya Sherman
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove Finch kill switch for PSL matching Following up on http://crbug.com/338289#c13, this CL removes the kill switch for PSL matching. Apart from the linked check with our PM, the consideration is that PSL matching has been in stable for a couple of releases now on all platforms (except for KDE, see below), and the bugs seen so far were of low severity, exposing problems in password manager rather than with PSL matching itself. It also replaces a couple of callsites of IsMatchingEnabled with ShouldPSLDomainMatchingApply -- the former did not take sites with a unified login origin into consideration, and on the affected callsites it seemed like it should. One caveat: PSL matching has not been added to KDE on Linux yet (it's planned, just not a top priority). Given that PSL is live on other Linux environments, and all other platforms, the concerns about needing the kill switch for KDE are low. As a follow-up to this CL, the (never submitted) internal CL with the corresponding Finch config will be closed. BUG=338289 Committed: https://crrev.com/4327ad3ce3504c5ae369855e24883079a67af811 Cr-Commit-Position: refs/heads/master@{#296371}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Just rebase #

Patch Set 3 : PSLMatchingHelper class removed #

Patch Set 4 : Renamed histogram constant from DISABLED to NOT_USED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -156 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 7 chunks +19 lines, -20 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 2 5 chunks +0 lines, -12 lines 0 comments Download
M components/password_manager/core/browser/login_database.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 2 3 5 chunks +11 lines, -12 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 4 chunks +0 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/psl_matching_helper.h View 1 2 3 1 chunk +30 lines, -55 lines 0 comments Download
M components/password_manager/core/browser/psl_matching_helper.cc View 1 2 3 chunks +6 lines, -46 lines 0 comments Download
M components/password_manager/core/browser/psl_matching_helper_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
vabr (Chromium)
vabr@chromium.org changed reviewers: + nyquist@chromium.org
6 years, 3 months ago (2014-08-27 14:36:14 UTC) #1
vabr (Chromium)
Hi Tommy, Could you please take a look? Thanks! Vaclav
6 years, 3 months ago (2014-08-27 14:36:14 UTC) #2
nyquist
https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode204 chrome/browser/password_manager/native_backend_gnome_x.cc:204: : PSLMatchingHelper::PSL_DOMAIN_MATCH_DISABLED, This else-clause looks a bit off to ...
6 years, 3 months ago (2014-08-27 18:15:14 UTC) #3
vabr (Chromium)
Hi Tommy, Please have another look. Cheers, Vaclav https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode204 chrome/browser/password_manager/native_backend_gnome_x.cc:204: : ...
6 years, 3 months ago (2014-09-22 13:32:31 UTC) #4
nyquist
lgtm https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/508143002/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode204 chrome/browser/password_manager/native_backend_gnome_x.cc:204: : PSLMatchingHelper::PSL_DOMAIN_MATCH_DISABLED, On 2014/09/22 13:32:31, vabr (Chromium) wrote: ...
6 years, 3 months ago (2014-09-22 22:59:48 UTC) #5
vabr (Chromium)
Ilya, Could you please have a look at tools/metrics/histograms/histograms.xml ? The new histogram value description ...
6 years, 3 months ago (2014-09-23 08:31:51 UTC) #7
nyquist
I'm happy with this change. Thanks!
6 years, 3 months ago (2014-09-23 18:53:41 UTC) #8
Ilya Sherman
lgtm
6 years, 3 months ago (2014-09-23 18:54:56 UTC) #9
Ilya Sherman
On 2014/09/23 18:54:56, Ilya Sherman wrote: > lgtm Note: I only looked at histograms.xml.
6 years, 3 months ago (2014-09-23 18:55:44 UTC) #10
vabr (Chromium)
On 2014/09/23 18:55:44, Ilya Sherman wrote: > On 2014/09/23 18:54:56, Ilya Sherman wrote: > > ...
6 years, 3 months ago (2014-09-24 08:36:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/508143002/60001
6 years, 3 months ago (2014-09-24 08:37:09 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as f6a29641c1e7a3473c5a53e115b3d2be2a34a404
6 years, 3 months ago (2014-09-24 09:19:22 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 09:19:58 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4327ad3ce3504c5ae369855e24883079a67af811
Cr-Commit-Position: refs/heads/master@{#296371}

Powered by Google App Engine
This is Rietveld 408576698