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

Issue 2180093002: [Autofill] Switch on use_new_wrapper_types mode. (Closed)

Created:
4 years, 5 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Switch on use_new_wrapper_types mode. This CL also adds a custom typemap for base::string16: "mojo.common.mojom.String16=base::string16" BUG=624136 Committed: https://crrev.com/35ae41c15a2362884c4122204ed7caf871158b98 Cr-Commit-Position: refs/heads/master@{#408570}

Patch Set 1 #

Patch Set 2 : Add gyp #

Total comments: 13

Patch Set 3 : Use base::string16 typemap directly #

Total comments: 2

Patch Set 4 : Address nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -88 lines) Patch
M chrome/renderer/autofill/autofill_renderer_browsertest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M components/autofill.gypi View 1 3 chunks +0 lines, -3 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 1 2 5 chunks +10 lines, -12 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 1 2 3 3 chunks +12 lines, -13 lines 0 comments Download
M components/autofill/content/public/interfaces/BUILD.gn View 3 chunks +0 lines, -6 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_agent.mojom View 1 2 2 chunks +10 lines, -6 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_driver.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 5 chunks +17 lines, -20 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M mojo/common/OWNERS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.mojom View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.typemap View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M mojo/common/common_custom_types_unittest.cc View 1 2 3 chunks +29 lines, -0 lines 0 comments Download
M mojo/common/test_common_custom_types.mojom View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
leonhsl(Using Gerrit)
Would you PTAL at this? Thanks. Vaclav: for OWNER review Yuzhu: for review as Mojo ...
4 years, 5 months ago (2016-07-26 08:24:33 UTC) #10
vabr (Chromium)
On 2016/07/26 08:24:33, leonhsl wrote: > Would you PTAL at this? Thanks. > > Vaclav: ...
4 years, 4 months ago (2016-07-26 14:56:32 UTC) #11
yzshen1
https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc File chrome/renderer/autofill/autofill_renderer_browsertest.cc (right): https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc#newcode74 chrome/renderer/autofill/autofill_renderer_browsertest.cc:74: forms_.reset(new std::vector<FormData>(std::move(forms))); nit: std::move is not necessary here because ...
4 years, 4 months ago (2016-07-26 16:45:36 UTC) #12
leonhsl(Using Gerrit)
https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc File chrome/renderer/autofill/autofill_renderer_browsertest.cc (right): https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc#newcode74 chrome/renderer/autofill/autofill_renderer_browsertest.cc:74: forms_.reset(new std::vector<FormData>(std::move(forms))); On 2016/07/26 16:45:36, yzshen1 wrote: > nit: ...
4 years, 4 months ago (2016-07-27 02:50:26 UTC) #13
yzshen1
https://codereview.chromium.org/2180093002/diff/20001/components/autofill/content/browser/content_autofill_driver.cc File components/autofill/content/browser/content_autofill_driver.cc (right): https://codereview.chromium.org/2180093002/diff/20001/components/autofill/content/browser/content_autofill_driver.cc#newcode236 components/autofill/content/browser/content_autofill_driver.cc:236: std::vector<base::string16> values16; On 2016/07/27 02:50:26, leonhsl wrote: > On ...
4 years, 4 months ago (2016-07-27 06:21:20 UTC) #14
leonhsl(Using Gerrit)
Uploaded ps#3 to address comments, PTAnL, Thanks. https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc File chrome/renderer/autofill/autofill_renderer_browsertest.cc (right): https://codereview.chromium.org/2180093002/diff/20001/chrome/renderer/autofill/autofill_renderer_browsertest.cc#newcode74 chrome/renderer/autofill/autofill_renderer_browsertest.cc:74: forms_.reset(new std::vector<FormData>(std::move(forms))); ...
4 years, 4 months ago (2016-07-27 09:25:32 UTC) #18
leonhsl(Using Gerrit)
+tsepez Would you PTAL for security review? Thanks.
4 years, 4 months ago (2016-07-27 09:27:34 UTC) #20
vabr (Chromium)
LGTM, so much cleaner! Thanks! Vaclav
4 years, 4 months ago (2016-07-27 09:30:24 UTC) #21
yzshen1
LGTM with one nit Thanks! https://codereview.chromium.org/2180093002/diff/40001/components/autofill/content/browser/content_autofill_driver_unittest.cc File components/autofill/content/browser/content_autofill_driver_unittest.cc (right): https://codereview.chromium.org/2180093002/diff/40001/components/autofill/content/browser/content_autofill_driver_unittest.cc#newcode165 components/autofill/content/browser/content_autofill_driver_unittest.cc:165: predictions_ = std::move(forms); nit: ...
4 years, 4 months ago (2016-07-27 15:29:53 UTC) #24
Tom Sepez
Are you sure you want to pass string16's over the wire instead of converting to ...
4 years, 4 months ago (2016-07-27 17:19:31 UTC) #25
leonhsl(Using Gerrit)
On 2016/07/27 17:19:31, Tom Sepez wrote: > Are you sure you want to pass string16's ...
4 years, 4 months ago (2016-07-28 02:59:08 UTC) #26
vabr (Chromium)
On 2016/07/28 02:59:08, leonhsl wrote: > On 2016/07/27 17:19:31, Tom Sepez wrote: > > Are ...
4 years, 4 months ago (2016-07-28 07:19:37 UTC) #27
Tom Sepez
Ok, LGTM.
4 years, 4 months ago (2016-07-28 17:15:00 UTC) #28
leonhsl(Using Gerrit)
Thanks all a lot! Uploaded ps#4 to address nit and will land now. https://codereview.chromium.org/2180093002/diff/40001/components/autofill/content/browser/content_autofill_driver_unittest.cc File ...
4 years, 4 months ago (2016-07-29 02:22:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2180093002/60001
4 years, 4 months ago (2016-07-29 02:23:02 UTC) #32
commit-bot: I haz the power
Failed to apply the patch.
4 years, 4 months ago (2016-07-29 03:32:36 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 03:34:13 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/35ae41c15a2362884c4122204ed7caf871158b98
Cr-Commit-Position: refs/heads/master@{#408570}

Powered by Google App Engine
This is Rietveld 408576698