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

Issue 7576001: Refactor webkit_glue::FormField to remove hacky methods (Closed)

Created:
9 years, 4 months ago by Ilya Sherman
Modified:
9 years, 4 months ago
CC:
chromium-reviews, GeorgeY, darin-cc_chromium.org, brettw-cc_chromium.org, Ilya Sherman, dhollowa
Visibility:
Public.

Description

Refactor webkit_glue::FormField to remove hacky methods: Remove webkit_glue::FormField's unwieldy full constructor and StricktlyEqualsHack() method. The only clients are in test code, and we can better support these clients in other ways. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95928

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Various fixups #

Patch Set 4 : More fixups #

Patch Set 5 : Restore accidentally removed line #

Patch Set 6 : Add test, fix tests #

Patch Set 7 : More tests and fixes #

Patch Set 8 : Fix a test #

Patch Set 9 : Don't query the server for forms with 'autocompletetype' specified. #

Patch Set 10 : Only FormField class refactoring #

Total comments: 10

Patch Set 11 : Style cleanup #

Patch Set 12 : Fix copyright header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2180 lines, -3380 lines) Patch
M chrome/browser/autocomplete_history_manager_unittest.cc View 1 4 chunks +21 lines, -25 lines 0 comments Download
M chrome/browser/autofill/address_field_unittest.cc View 1 2 3 4 5 6 7 8 9 12 chunks +104 lines, -140 lines 0 comments Download
M chrome/browser/autofill/autofill_common_test.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_download_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +87 lines, -104 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +47 lines, -51 lines 0 comments Download
M chrome/browser/autofill/autofill_merge_unittest.cc View 1 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics_unittest.cc View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card_field_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +128 lines, -191 lines 0 comments Download
M chrome/browser/autofill/form_structure_unittest.cc View 1 2 3 4 5 7 8 9 30 chunks +662 lines, -879 lines 0 comments Download
M chrome/browser/autofill/name_field_unittest.cc View 1 2 3 4 5 6 7 8 9 10 chunks +134 lines, -208 lines 0 comments Download
M chrome/browser/autofill/phone_field_unittest.cc View 1 2 3 4 5 6 7 8 9 10 chunks +138 lines, -184 lines 0 comments Download
M chrome/browser/webdata/autofill_table_unittest.cc View 1 2 3 4 5 6 7 8 9 10 18 chunks +111 lines, -233 lines 0 comments Download
M chrome/browser/webdata/web_data_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/autofill/autofill_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +38 lines, -42 lines 0 comments Download
M chrome/renderer/autofill/form_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 41 chunks +641 lines, -818 lines 0 comments Download
A + chrome/renderer/autofill/password_autofill_manager_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -420 lines 0 comments Download
M chrome/test/live_sync/autofill_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -6 lines 0 comments Download
M webkit/glue/form_field.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -12 lines 0 comments Download
M webkit/glue/form_field.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -23 lines 0 comments Download
M webkit/glue/password_form_dom_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ilya Sherman
There are two TODOs which I would like to postpone to later CLs: (1) support ...
9 years, 4 months ago (2011-08-05 03:27:36 UTC) #1
dhollowa
Please split these into two patches (1) for ripping out ECML and (2) for adding ...
9 years, 4 months ago (2011-08-05 15:01:42 UTC) #2
Ilya Sherman
Split off a bunch of changes into separate CLs; this is now purely a refactoring ...
9 years, 4 months ago (2011-08-08 21:04:21 UTC) #3
dhollowa
http://codereview.chromium.org/7576001/diff/14001/chrome/browser/autofill/autofill_download_unittest.cc File chrome/browser/autofill/autofill_download_unittest.cc (right): http://codereview.chromium.org/7576001/diff/14001/chrome/browser/autofill/autofill_download_unittest.cc#newcode130 chrome/browser/autofill/autofill_download_unittest.cc:130: field.label = ASCIIToUTF16("username"); nit: It would be nice visually ...
9 years, 4 months ago (2011-08-08 21:40:39 UTC) #4
Ilya Sherman
http://codereview.chromium.org/7576001/diff/14001/chrome/browser/autofill/autofill_download_unittest.cc File chrome/browser/autofill/autofill_download_unittest.cc (right): http://codereview.chromium.org/7576001/diff/14001/chrome/browser/autofill/autofill_download_unittest.cc#newcode130 chrome/browser/autofill/autofill_download_unittest.cc:130: field.label = ASCIIToUTF16("username"); On 2011/08/08 21:40:39, dhollowa wrote: > ...
9 years, 4 months ago (2011-08-09 00:13:43 UTC) #5
dhollowa
LGTM. Thanks.
9 years, 4 months ago (2011-08-09 00:22:07 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-09 01:14:00 UTC) #7
Can't process patch for file
chrome/renderer/autofill/password_autofill_manager_browsertest.cc.
A +

Powered by Google App Engine
This is Rietveld 408576698