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

Issue 1494373003: [Autofill] Send Autofill upload when active form loses focus. (Closed)

Created:
5 years ago by Mathieu
Modified:
5 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mkwst+moarreviews-renderer_chromium.org, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Send Autofill upload when active form loses focus. This is in addition to uploading on submission events. We now distinguish the two, with TODOs to have separate metrics and a bit in the payload. I will address the TODOs in subsequent CLs to keep complexity low. The idea is to upload votes for any entered data (albeit lower quality, which we will distinguish on the server side). Note: I moved OnFormsSeen and OnFormSubmitted because they were out of order with the .h BUG=555015 TEST=AutofillManagerTest,FormAutocompleteTest Committed: https://crrev.com/8ac68ce427132cd62ebc101ad08dd9c82f3eeb29 Cr-Commit-Position: refs/heads/master@{#363795}

Patch Set 1 #

Total comments: 24

Patch Set 2 : addressed comments #

Patch Set 3 : fixed test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+413 lines, -95 lines) Patch
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 chunk +5 lines, -1 line 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 2 chunks +15 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 4 chunks +24 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 8 chunks +101 lines, -58 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 7 chunks +170 lines, -14 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 12 chunks +33 lines, -17 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
Mathieu
Hello Václav, I tried to keep most of the logic in the browser, but focus ...
5 years ago (2015-12-04 21:41:09 UTC) #3
vabr (Chromium)
Hi Mathieu, This LGTM, with some comments. Thanks! Vaclav https://codereview.chromium.org/1494373003/diff/1/chrome/renderer/autofill/form_autocomplete_browsertest.cc File chrome/renderer/autofill/form_autocomplete_browsertest.cc (right): https://codereview.chromium.org/1494373003/diff/1/chrome/renderer/autofill/form_autocomplete_browsertest.cc#newcode418 chrome/renderer/autofill/form_autocomplete_browsertest.cc:418: ...
5 years ago (2015-12-07 09:47:34 UTC) #4
Mathieu
+tsepez for autofill_messages.h Hello Václav, There is still an open question in autofill_manager, have a ...
5 years ago (2015-12-07 14:23:08 UTC) #6
vabr (Chromium)
LGTM, sorry for the two misunderstandings I introduced. Cheers, Vaclav https://codereview.chromium.org/1494373003/diff/1/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/1494373003/diff/1/components/autofill/core/browser/autofill_manager.cc#newcode344 ...
5 years ago (2015-12-07 15:32:50 UTC) #7
Tom Sepez
lgtm
5 years ago (2015-12-07 16:53:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494373003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494373003/20001
5 years ago (2015-12-07 16:56:16 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/97891) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-07 17:31:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494373003/40001
5 years ago (2015-12-07 23:09:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/130377)
5 years ago (2015-12-08 01:07:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494373003/40001
5 years ago (2015-12-08 14:29:58 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-08 21:49:13 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-08 21:50:12 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8ac68ce427132cd62ebc101ad08dd9c82f3eeb29
Cr-Commit-Position: refs/heads/master@{#363795}

Powered by Google App Engine
This is Rietveld 408576698