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

Issue 686653003: Don't use FormFieldData only as a key in a map (Closed)

Created:
6 years, 1 month ago by vabr (Chromium)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, jam, darin-cc_chromium.org, Dane Wallinga, dyu1, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Don't use FormFieldData only as a key in a map The FormFieldData was used in PasswordAutofillManagera::LoginToPasswordInfoMap merely as a map key, without needing the information in it. This CL changes the key type to int, and removes one IPC message completely in result. Note: this CL is also relevant to http://crbug.com/377422 and http://crbug.com/118601, but does not directly contribute to their goals. BUG=400186 Committed: https://crrev.com/d73e4141cbcb4663862c02f11935b5cda79d6af0 Cr-Commit-Position: refs/heads/master@{#302790}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Delete unused code #

Patch Set 3 : Rebased #

Messages

Total messages: 14 (3 generated)
vabr (Chromium)
Hi Garret, Could you please take a look at the whole CL, a follow-up to ...
6 years, 1 month ago (2014-10-31 12:33:33 UTC) #3
Tom Sepez
My only concern when making a change like this is whether the integer key, being ...
6 years, 1 month ago (2014-10-31 16:47:17 UTC) #4
vabr (Chromium)
On 2014/10/31 16:47:17, Tom Sepez wrote: > My only concern when making a change like ...
6 years, 1 month ago (2014-10-31 17:48:20 UTC) #5
vabr (Chromium)
On 2014/10/31 17:48:20, vabr (Chromium) wrote: > On 2014/10/31 16:47:17, Tom Sepez wrote: > > ...
6 years, 1 month ago (2014-10-31 17:57:50 UTC) #6
Tom Sepez
Doesn't sound like there's a problem then. LGTM.
6 years, 1 month ago (2014-10-31 23:40:59 UTC) #7
Garrett Casto
lgtm https://codereview.chromium.org/686653003/diff/20001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/686653003/diff/20001/components/autofill/content/renderer/password_autofill_agent.cc#newcode1078 components/autofill/content/renderer/password_autofill_agent.cc:1078: username_element, &form, &field, REQUIRE_NONE); This is unneeded, right?
6 years, 1 month ago (2014-11-04 07:22:09 UTC) #8
vabr (Chromium)
On 2014/11/04 07:22:09, Garrett Casto wrote: > lgtm > > https://codereview.chromium.org/686653003/diff/20001/components/autofill/content/renderer/password_autofill_agent.cc > File components/autofill/content/renderer/password_autofill_agent.cc (right): ...
6 years, 1 month ago (2014-11-04 13:43:51 UTC) #9
vabr (Chromium)
Thanks, Garrett. I addressed your comment. Once https://codereview.chromium.org/701073002/ lands, I will rebase this CL on ...
6 years, 1 month ago (2014-11-05 11:56:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/686653003/60001
6 years, 1 month ago (2014-11-05 12:02:05 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001)
6 years, 1 month ago (2014-11-05 13:00:33 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 13:01:06 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d73e4141cbcb4663862c02f11935b5cda79d6af0
Cr-Commit-Position: refs/heads/master@{#302790}

Powered by Google App Engine
This is Rietveld 408576698