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

Issue 2634163002: Fetch federated PSL-matches from the password store. (Closed)

Created:
3 years, 11 months ago by jdoerrie
Modified:
3 years, 11 months ago
Reviewers:
vasilii, Ilya Sherman
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fetch federated PSL-matches from the password store. This change adds the possibility to apply PSL matches to federated logins. In order to do so it adds a PSL matching helper method and modifies the SQL statement used. BUG=666340 R=vasilii@chromium.org Review-Url: https://codereview.chromium.org/2634163002 Cr-Commit-Position: refs/heads/master@{#444689} Committed: https://chromium.googlesource.com/chromium/src/+/e92e9a9d5c688c348a8260c6bcdea2214755014d

Patch Set 1 #

Total comments: 13

Patch Set 2 : Addressed comments. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Updated Histogram. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -6 lines) Patch
M components/password_manager/core/browser/login_database.cc View 1 2 3 chunks +17 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 2 2 chunks +28 lines, -1 line 0 comments Download
M components/password_manager/core/browser/psl_matching_helper.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/psl_matching_helper.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +6 lines, -2 lines 1 comment Download

Messages

Total messages: 28 (17 generated)
jdoerrie
Hey Vasilii, PTAL. This is the bare minimum that makes the test pass, but I ...
3 years, 11 months ago (2017-01-16 18:04:14 UTC) #3
jdoerrie
Added comment regarding test failure. https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database_unittest.cc File components/password_manager/core/browser/login_database_unittest.cc (right): https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database_unittest.cc#newcode416 components/password_manager/core/browser/login_database_unittest.cc:416: EXPECT_THAT(result, testing::ElementsAre(Pointee(form))); This test ...
3 years, 11 months ago (2017-01-17 09:21:40 UTC) #6
vasilii
https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database.cc File components/password_manager/core/browser/login_database.cc (right): https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database.cc#newcode1099 components/password_manager/core/browser/login_database.cc:1099: signon_realm.port() + ")?/.+$"; On 2017/01/16 18:04:14, jdoerrie wrote: > ...
3 years, 11 months ago (2017-01-17 12:41:24 UTC) #7
jdoerrie
https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database.cc File components/password_manager/core/browser/login_database.cc (right): https://codereview.chromium.org/2634163002/diff/1/components/password_manager/core/browser/login_database.cc#newcode1099 components/password_manager/core/browser/login_database.cc:1099: signon_realm.port() + ")?/.+$"; On 2017/01/17 12:41:24, vasilii wrote: > ...
3 years, 11 months ago (2017-01-17 13:37:18 UTC) #10
vasilii
lgtm https://codereview.chromium.org/2634163002/diff/20001/components/password_manager/core/browser/login_database.cc File components/password_manager/core/browser/login_database.cc (right): https://codereview.chromium.org/2634163002/diff/20001/components/password_manager/core/browser/login_database.cc#newcode1093 components/password_manager/core/browser/login_database.cc:1093: // matches the empty subdomain. Hence exact domain ...
3 years, 11 months ago (2017-01-17 16:05:05 UTC) #13
jdoerrie
isherman, please review histogram.xml.
3 years, 11 months ago (2017-01-17 18:56:24 UTC) #17
Ilya Sherman
https://codereview.chromium.org/2634163002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2634163002/diff/40001/tools/metrics/histograms/histograms.xml#newcode44585 tools/metrics/histograms/histograms.xml:44585: + possible matches. Seperately counts PSL matches for federated ...
3 years, 11 months ago (2017-01-18 01:44:49 UTC) #20
jdoerrie
Thanks for providing feedback, could you have another look? https://codereview.chromium.org/2634163002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2634163002/diff/40001/tools/metrics/histograms/histograms.xml#newcode44585 tools/metrics/histograms/histograms.xml:44585: ...
3 years, 11 months ago (2017-01-18 10:11:12 UTC) #21
Ilya Sherman
Metrics LGTM, thanks. https://codereview.chromium.org/2634163002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2634163002/diff/60001/tools/metrics/histograms/histograms.xml#newcode99841 tools/metrics/histograms/histograms.xml:99841: + <int value="3" label="Federated match"/> Ah, ...
3 years, 11 months ago (2017-01-19 02:24:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2634163002/60001
3 years, 11 months ago (2017-01-19 08:27:01 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 09:27:25 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e92e9a9d5c688c348a8260c6bcde...

Powered by Google App Engine
This is Rietveld 408576698