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

Issue 1153023004: Prepare the infrastructure for password overrides. (Closed)

Created:
5 years, 6 months ago by msramek
Modified:
5 years, 6 months ago
CC:
browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mkwst+watchlist-passwords_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofillwatch_chromium.org, 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

Prepare the infrastructure for password overrides. Currently use the autofill field categories "USERNAME" and "USERNAME_AND_EMAIL" in our password form parsing heuristics. Use the same pipeline to pass the predictions of "PASSWORD" and "ACCOUNT_CREATION_PASSWORD" as well. This is mostly refactoring. The new hints on password fields are not yet used in this CL. BUG=492604 Committed: https://crrev.com/8593e1698184b2ec3146b90212bad54e38b03217 Cr-Commit-Position: refs/heads/master@{#331968}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Renamed to Map, added comment. #

Patch Set 3 : Fixed the test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -60 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 4 chunks +15 lines, -9 lines 0 comments Download
M components/autofill.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 4 chunks +10 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 4 chunks +8 lines, -6 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 6 chunks +34 lines, -22 lines 0 comments Download
A components/autofill/core/common/password_form_field_prediction_map.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 3 chunks +28 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/password_manager_driver.h View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
msramek
Hi Václav, could you have a look at this boilerplate? :) Thanks, Martin
5 years, 6 months ago (2015-05-27 12:55:59 UTC) #2
vabr (Chromium)
Hi Martin, This LGTM. Cheers, Vaclav https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h File components/autofill/core/common/password_form_field_predictions.h (right): https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h#newcode15 components/autofill/core/common/password_form_field_predictions.h:15: PREDICTION_USERNAME, Would it ...
5 years, 6 months ago (2015-05-27 13:31:51 UTC) #3
msramek
https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h File components/autofill/core/common/password_form_field_predictions.h (right): https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h#newcode15 components/autofill/core/common/password_form_field_predictions.h:15: PREDICTION_USERNAME, On 2015/05/27 13:31:51, vabr (Chromium) wrote: > Would ...
5 years, 6 months ago (2015-05-27 14:38:35 UTC) #4
msramek
+Ilya, Mike PTAL as well. Thanks, Martin
5 years, 6 months ago (2015-05-27 14:40:10 UTC) #6
Ilya Sherman
LGTM. I only looked at the non-password files, plus the new file. Let me know ...
5 years, 6 months ago (2015-05-27 18:21:50 UTC) #7
vabr (Chromium)
(Still LGTM.) Cheers, Vaclav https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h File components/autofill/core/common/password_form_field_predictions.h (right): https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h#newcode15 components/autofill/core/common/password_form_field_predictions.h:15: PREDICTION_USERNAME, On 2015/05/27 14:38:35, msramek ...
5 years, 6 months ago (2015-05-28 07:53:32 UTC) #8
Mike West
IPC LGTM.
5 years, 6 months ago (2015-05-28 11:57:18 UTC) #9
msramek
https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h File components/autofill/core/common/password_form_field_predictions.h (right): https://codereview.chromium.org/1153023004/diff/1/components/autofill/core/common/password_form_field_predictions.h#newcode15 components/autofill/core/common/password_form_field_predictions.h:15: PREDICTION_USERNAME, On 2015/05/28 07:53:32, vabr (Chromium) wrote: > On ...
5 years, 6 months ago (2015-05-28 19:36:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153023004/20001
5 years, 6 months ago (2015-05-28 19:37:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/41881)
5 years, 6 months ago (2015-05-28 19:53:10 UTC) #15
vabr (Chromium)
lgtm
5 years, 6 months ago (2015-05-28 19:58:01 UTC) #16
msramek
I forgot about the test here, which didn't compile after the message name was changed. ...
5 years, 6 months ago (2015-05-29 12:31:19 UTC) #17
vabr (Chromium)
Still LGTM, thanks for the explanation. Cheers, Vaclav
5 years, 6 months ago (2015-05-29 12:33:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153023004/40001
5 years, 6 months ago (2015-05-29 12:39:59 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-05-29 14:56:46 UTC) #22
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 14:57:38 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8593e1698184b2ec3146b90212bad54e38b03217
Cr-Commit-Position: refs/heads/master@{#331968}

Powered by Google App Engine
This is Rietveld 408576698