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

Issue 1457793002: [Autofill] No longer pass FormStructure pointers in ParseQueryResponse. (Closed)

Created:
5 years, 1 month ago by Mathieu
Modified:
5 years, 1 month ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_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] No longer pass FormStructure pointers in ParseQueryResponse. Use form signatures to look up forms in |form_structures_|, which is guaranteed to be valid. BUG=557713, 557740, 557800 TEST=Existing Committed: https://crrev.com/29fda7fc8af99768dd93391366408e05c656e154 Cr-Commit-Position: refs/heads/master@{#360580}

Patch Set 1 : initial #

Total comments: 2

Patch Set 2 : added AutofillManager tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -47 lines) Patch
M components/autofill/core/browser/autofill_download_manager.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_download_manager.cc View 4 chunks +2 lines, -4 lines 0 comments Download
M components/autofill/core/browser/autofill_download_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 chunk +18 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 1 chunk +82 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.h View 1 1 chunk +5 lines, -7 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M components/autofill/core/browser/form_structure_unittest.cc View 14 chunks +10 lines, -26 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Mathieu
Hi, Please take a look!
5 years, 1 month ago (2015-11-18 17:45:57 UTC) #2
vabr (Chromium)
Thanks, Mathieu, the fix LGTM. However, did you manage to reproduce the crash by resetting ...
5 years, 1 month ago (2015-11-19 07:56:04 UTC) #4
Mathieu
Thanks! You're right, I've added a test that resetting the manager certainly doesn't crash, and ...
5 years, 1 month ago (2015-11-19 13:20:55 UTC) #5
vabr (Chromium)
LGTM, thanks! Vaclav
5 years, 1 month ago (2015-11-19 13:40:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1457793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1457793002/40001
5 years, 1 month ago (2015-11-19 14:03:01 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 1 month ago (2015-11-19 14:54:39 UTC) #9
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 14:55:16 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/29fda7fc8af99768dd93391366408e05c656e154
Cr-Commit-Position: refs/heads/master@{#360580}

Powered by Google App Engine
This is Rietveld 408576698