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

Issue 12852003: Autofill:Autocheckout: Enable looking at all elements for Autocheckout flow (ignoring 3 element lim… (Closed)

Created:
7 years, 9 months ago by Raman Kakilate
Modified:
7 years, 9 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Visibility:
Public.

Description

Autofill:Autocheckout: Enable looking at all elements for Autocheckout flow (ignoring 3 element limit in autofill@browser process). This CL addresses two issues: 1. Enabling sending all the forms with one or more elements to Autofill Server (As against having >3 requirement for general Autofill). 2. AutofillAgent@Renderer process, assumes that its form_elements_ are ordered same as the order of elements in AutofillManager@browser's form_structures, this assumption is broken if a form has <3 fields or if it has user specified autofill type. BUG=191242 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188903

Patch Set 1 #

Total comments: 2

Patch Set 2 : update comment in test file. #

Total comments: 8

Patch Set 3 : Review comments and more tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -2 lines) Patch
M components/autofill/browser/autofill_manager_unittest.cc View 1 2 4 chunks +83 lines, -1 line 0 comments Download
M components/autofill/browser/form_structure.cc View 1 2 1 chunk +3 lines, -1 line 2 comments Download
M components/autofill/browser/form_structure_unittest.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Raman Kakilate
PTAL, thanks.
7 years, 9 months ago (2013-03-15 16:57:45 UTC) #1
Albert Bodenhamer
https://codereview.chromium.org/12852003/diff/1/components/autofill/browser/autofill_manager_unittest.cc File components/autofill/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/12852003/diff/1/components/autofill/browser/autofill_manager_unittest.cc#newcode207 components/autofill/browser/autofill_manager_unittest.cc:207: // Populates |form| with data corresponding to minimual name ...
7 years, 9 months ago (2013-03-15 17:22:53 UTC) #2
Raman Kakilate
https://codereview.chromium.org/12852003/diff/1/components/autofill/browser/autofill_manager_unittest.cc File components/autofill/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/12852003/diff/1/components/autofill/browser/autofill_manager_unittest.cc#newcode207 components/autofill/browser/autofill_manager_unittest.cc:207: // Populates |form| with data corresponding to minimual name ...
7 years, 9 months ago (2013-03-15 17:39:22 UTC) #3
Ilya Sherman
Please update the form_structure_unittest tests as well. https://codereview.chromium.org/12852003/diff/4001/components/autofill/browser/autofill_manager_unittest.cc File components/autofill/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/12852003/diff/4001/components/autofill/browser/autofill_manager_unittest.cc#newcode518 components/autofill/browser/autofill_manager_unittest.cc:518: void set_autocheckout_url_prefix(std::string ...
7 years, 9 months ago (2013-03-15 23:37:17 UTC) #4
Raman Kakilate
Rebased and added test in form_structure_unittest. https://codereview.chromium.org/12852003/diff/4001/components/autofill/browser/autofill_manager_unittest.cc File components/autofill/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/12852003/diff/4001/components/autofill/browser/autofill_manager_unittest.cc#newcode518 components/autofill/browser/autofill_manager_unittest.cc:518: void set_autocheckout_url_prefix(std::string autocheckout_url_prefix) ...
7 years, 9 months ago (2013-03-18 16:14:31 UTC) #5
Ilya Sherman
https://codereview.chromium.org/12852003/diff/8001/components/autofill/browser/form_structure.cc File components/autofill/browser/form_structure.cc (right): https://codereview.chromium.org/12852003/diff/8001/components/autofill/browser/form_structure.cc#newcode616 components/autofill/browser/form_structure.cc:616: return false; Did you intentionally move this code back?
7 years, 9 months ago (2013-03-18 22:25:40 UTC) #6
Raman Kakilate
https://codereview.chromium.org/12852003/diff/8001/components/autofill/browser/form_structure.cc File components/autofill/browser/form_structure.cc (right): https://codereview.chromium.org/12852003/diff/8001/components/autofill/browser/form_structure.cc#newcode616 components/autofill/browser/form_structure.cc:616: return false; On 2013/03/18 22:25:40, Ilya Sherman wrote: > ...
7 years, 9 months ago (2013-03-18 22:36:01 UTC) #7
Ilya Sherman
LGTM, thanks.
7 years, 9 months ago (2013-03-18 22:38:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/12852003/8001
7 years, 9 months ago (2013-03-18 22:45:07 UTC) #9
commit-bot: I haz the power
7 years, 9 months ago (2013-03-19 01:05:18 UTC) #10
Message was sent while issue was closed.
Change committed as 188903

Powered by Google App Engine
This is Rietveld 408576698