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

Issue 1458903003: [Autofill] Deduplicate Autocomplete and Datalist suggestions, keeping the latter (Closed)

Created:
5 years, 1 month ago by Mathieu
Modified:
5 years, 1 month ago
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] Deduplicate Autocomplete and Datalist suggestions, keeping the latter Doesn't make sense to have both if they are the same value, as described in the bug. BUG=419239 TEST=AutofillExternalDelegateTest Committed: https://crrev.com/aedbb48c0b3e495622cf6698c88cc241be3b20b0 Cr-Commit-Position: refs/heads/master@{#360627}

Patch Set 1 : Initial #

Total comments: 10

Patch Set 2 : lambda function #

Total comments: 4

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -3 lines) Patch
M components/autofill/core/browser/autofill_external_delegate.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.cc View 1 2 2 chunks +16 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate_unittest.cc View 1 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Mathieu
Hello, Please have a look!
5 years, 1 month ago (2015-11-19 01:50:05 UTC) #6
Evan Stade
https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc#newcode314 components/autofill/core/browser/autofill_external_delegate.cc:314: std::set<base::string16> datalist_set(data_list_values_.begin(), please keep datalist/data_list consistent https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc#newcode316 components/autofill/core/browser/autofill_external_delegate.cc:316: for ...
5 years, 1 month ago (2015-11-19 03:13:03 UTC) #7
Evan Stade
https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc#newcode316 components/autofill/core/browser/autofill_external_delegate.cc:316: for (auto iter = suggestions->begin(); iter != suggestions->end();) { ...
5 years, 1 month ago (2015-11-19 03:19:51 UTC) #8
vabr (Chromium)
Hi Mathieu, I added some more comments to Evan's. With all of them addressed, this ...
5 years, 1 month ago (2015-11-19 08:26:04 UTC) #10
Mathieu
Thanks both, didn't know we could use lambda functions. Applied your comments, PTAL. https://codereview.chromium.org/1458903003/diff/40001/components/autofill/core/browser/autofill_external_delegate.cc File ...
5 years, 1 month ago (2015-11-19 13:22:17 UTC) #11
vabr (Chromium)
LGTM, thanks! Because this does not look urgent, and Evan already started to review the ...
5 years, 1 month ago (2015-11-19 13:47:13 UTC) #12
Evan Stade
lgtm https://codereview.chromium.org/1458903003/diff/60001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/1458903003/diff/60001/components/autofill/core/browser/autofill_external_delegate.cc#newcode322 components/autofill/core/browser/autofill_external_delegate.cc:322: POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY; nit: i'd reverse the order of these ...
5 years, 1 month ago (2015-11-19 16:40:10 UTC) #13
Mathieu
Thanks both of you! https://codereview.chromium.org/1458903003/diff/60001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/1458903003/diff/60001/components/autofill/core/browser/autofill_external_delegate.cc#newcode322 components/autofill/core/browser/autofill_external_delegate.cc:322: POPUP_ITEM_ID_AUTOCOMPLETE_ENTRY; On 2015/11/19 16:40:10, Evan ...
5 years, 1 month ago (2015-11-19 17:06:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458903003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458903003/80001
5 years, 1 month ago (2015-11-19 17:06:35 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 1 month ago (2015-11-19 18:12:01 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 18:12:53 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aedbb48c0b3e495622cf6698c88cc241be3b20b0
Cr-Commit-Position: refs/heads/master@{#360627}

Powered by Google App Engine
This is Rietveld 408576698