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

Issue 804443002: Autofill: Modify various utility function to deal with unowned form fields. (Closed)

Created:
6 years ago by Lei Zhang
Modified:
6 years ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autofill: Modify various utility function to deal with unowned form fields. BUG=428919 Committed: https://crrev.com/5912ae5c18cfd0d485784d35e0b5bf1e2a4aa036 Cr-Commit-Position: refs/heads/master@{#308224}

Patch Set 1 : Move tests #

Patch Set 2 : Fix silly things #

Patch Set 3 : Add new code to handle unowned fields #

Patch Set 4 : Add more tests #

Total comments: 6

Patch Set 5 : Address comments #

Patch Set 6 : Merge UnownedFormElementsAndFieldSetsToFormData call into FindFormAndFieldForFormControlElement #

Total comments: 2

Patch Set 7 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1778 lines, -1455 lines) Patch
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 3 4 5 43 chunks +1598 lines, -1354 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.h View 1 2 2 chunks +18 lines, -4 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 2 3 4 5 6 13 chunks +150 lines, -38 lines 0 comments Download
M components/autofill/content/renderer/form_cache.h View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M components/autofill/content/renderer/form_cache.cc View 1 2 7 chunks +12 lines, -50 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Lei Zhang
See diffs between patch sets to better understand what's going on.
6 years ago (2014-12-12 09:58:22 UTC) #2
Evan Stade
https://codereview.chromium.org/804443002/diff/60001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc (right): https://codereview.chromium.org/804443002/diff/60001/components/autofill/content/renderer/autofill_agent.cc#newcode692 components/autofill/content/renderer/autofill_agent.cc:692: if (!FindFormAndFieldForFormControlElement(element, &form, &field, hmmm, why doesn't the unowned ...
6 years ago (2014-12-12 19:59:35 UTC) #3
Lei Zhang
https://codereview.chromium.org/804443002/diff/60001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc (right): https://codereview.chromium.org/804443002/diff/60001/components/autofill/content/renderer/autofill_agent.cc#newcode692 components/autofill/content/renderer/autofill_agent.cc:692: if (!FindFormAndFieldForFormControlElement(element, &form, &field, On 2014/12/12 19:59:35, Evan Stade ...
6 years ago (2014-12-12 22:06:23 UTC) #4
Lei Zhang
I undid the autofill_agent.cc changes and put that into FindFormAndFieldForFormControlElement().
6 years ago (2014-12-12 22:43:53 UTC) #5
Evan Stade
lgtm https://codereview.chromium.org/804443002/diff/100001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/804443002/diff/100001/components/autofill/content/renderer/form_autofill_util.cc#newcode526 components/autofill/content/renderer/form_autofill_util.cc:526: // ForEachMatchingUnownedFormField(). this documentation isn't necessary imo
6 years ago (2014-12-12 23:05:53 UTC) #6
Lei Zhang
https://codereview.chromium.org/804443002/diff/100001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/804443002/diff/100001/components/autofill/content/renderer/form_autofill_util.cc#newcode526 components/autofill/content/renderer/form_autofill_util.cc:526: // ForEachMatchingUnownedFormField(). On 2014/12/12 23:05:53, Evan Stade wrote: > ...
6 years ago (2014-12-12 23:11:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/804443002/120001
6 years ago (2014-12-12 23:33:07 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-13 02:12:01 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-13 02:12:42 UTC) #11
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5912ae5c18cfd0d485784d35e0b5bf1e2a4aa036
Cr-Commit-Position: refs/heads/master@{#308224}

Powered by Google App Engine
This is Rietveld 408576698