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

Issue 2083463002: Replace //net TypeConverters with StructTraits. (Closed)

Created:
4 years, 6 months ago by Sam McNally
Modified:
4 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cbentzel+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@type-converter-cleanup--gurl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace //net TypeConverters with StructTraits. BUG=621383 Committed: https://crrev.com/170917fcc907d4e4c9b13d2a367dc5da2ac6b406 Cr-Commit-Position: refs/heads/master@{#424110}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+544 lines, -492 lines) Patch
M mojo/public/cpp/bindings/BUILD.gn View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 3 chunks +0 lines, -18 lines 0 comments Download
M net/base/address_list.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + net/dns/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M net/dns/host_resolver_mojo.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M net/dns/host_resolver_mojo.cc View 1 2 3 4 5 chunks +7 lines, -10 lines 0 comments Download
M net/dns/host_resolver_mojo_unittest.cc View 1 2 3 4 9 chunks +54 lines, -57 lines 0 comments Download
M net/dns/mojo_host_resolver_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 2 comments Download
M net/dns/mojo_host_resolver_impl.cc View 1 2 3 4 3 chunks +6 lines, -13 lines 0 comments Download
M net/dns/mojo_host_resolver_impl_unittest.cc View 1 2 3 4 11 chunks +41 lines, -53 lines 0 comments Download
A net/dns/mojo_host_struct_traits.h View 1 2 3 4 1 chunk +74 lines, -0 lines 0 comments Download
A net/dns/mojo_host_struct_traits.cc View 1 2 3 4 1 chunk +89 lines, -0 lines 0 comments Download
D net/dns/mojo_host_type_converters.h View 1 chunk +0 lines, -39 lines 0 comments Download
D net/dns/mojo_host_type_converters.cc View 1 chunk +0 lines, -98 lines 0 comments Download
A net/interfaces/host_resolver.typemap View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M net/interfaces/host_resolver_service.mojom View 1 chunk +1 line, -1 line 0 comments Download
A net/interfaces/proxy_resolver.typemap View 1 chunk +21 lines, -0 lines 0 comments Download
M net/interfaces/proxy_resolver_service.mojom View 2 chunks +6 lines, -2 lines 0 comments Download
A + net/interfaces/typemaps.gni View 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A + net/proxy/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_factory_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/mojo_proxy_resolver_impl.cc View 1 2 3 4 2 chunks +5 lines, -7 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_impl_unittest.cc View 1 2 3 4 9 chunks +12 lines, -18 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A net/proxy/mojo_proxy_struct_traits.h View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
A net/proxy/mojo_proxy_struct_traits.cc View 1 2 3 4 1 chunk +124 lines, -0 lines 2 comments Download
D net/proxy/mojo_proxy_type_converters.h View 1 chunk +0 lines, -37 lines 0 comments Download
D net/proxy/mojo_proxy_type_converters.cc View 1 chunk +0 lines, -97 lines 0 comments Download
M net/proxy/proxy_resolver_factory_mojo.cc View 1 2 3 4 4 chunks +5 lines, -9 lines 0 comments Download
M net/proxy/proxy_resolver_factory_mojo_unittest.cc View 1 2 3 4 8 chunks +12 lines, -26 lines 0 comments Download

Messages

Total messages: 38 (23 generated)
Sam McNally
4 years, 6 months ago (2016-06-24 01:06:38 UTC) #5
eroman
lgtm https://codereview.chromium.org/2083463002/diff/40002/net/dns/OWNERS File net/dns/OWNERS (right): https://codereview.chromium.org/2083463002/diff/40002/net/dns/OWNERS#newcode1 net/dns/OWNERS:1: per-file *_type_converter*.*=set noparent Can these two lines be ...
4 years, 5 months ago (2016-06-24 18:48:09 UTC) #6
Sam McNally
+amistry for mojo/ +dcheng for mojom and struct traits https://codereview.chromium.org/2083463002/diff/40002/net/dns/OWNERS File net/dns/OWNERS (right): https://codereview.chromium.org/2083463002/diff/40002/net/dns/OWNERS#newcode1 net/dns/OWNERS:1: ...
4 years, 5 months ago (2016-06-27 01:41:31 UTC) #8
Anand Mistry (off Chromium)
LGTM for mojo/
4 years, 5 months ago (2016-06-27 01:49:20 UTC) #9
dcheng
https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.cc File net/dns/mojo_host_struct_traits.cc (right): https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.cc#newcode68 net/dns/mojo_host_struct_traits.cc:68: } Nit: newline https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.h File net/dns/mojo_host_struct_traits.h (right): https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.h#newcode65 net/dns/mojo_host_struct_traits.h:65: ...
4 years, 5 months ago (2016-06-27 03:50:45 UTC) #10
Sam McNally
https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.cc File net/dns/mojo_host_struct_traits.cc (right): https://codereview.chromium.org/2083463002/diff/90001/net/dns/mojo_host_struct_traits.cc#newcode68 net/dns/mojo_host_struct_traits.cc:68: } On 2016/06/27 03:50:45, dcheng wrote: > Nit: newline ...
4 years, 5 months ago (2016-06-29 01:42:07 UTC) #11
Sam McNally
dcheng: ping
4 years, 2 months ago (2016-10-05 01:35:27 UTC) #26
dcheng
Thanks for doing this cleanup. The array thing is a little sad, but we can ...
4 years, 2 months ago (2016-10-05 05:59:33 UTC) #27
Sam McNally
https://codereview.chromium.org/2083463002/diff/170001/net/dns/mojo_host_resolver_impl.h File net/dns/mojo_host_resolver_impl.h (right): https://codereview.chromium.org/2083463002/diff/170001/net/dns/mojo_host_resolver_impl.h#newcode31 net/dns/mojo_host_resolver_impl.h:31: void Resolve(std::unique_ptr<HostResolver::RequestInfo> request_info, On 2016/10/05 05:59:33, dcheng wrote: > ...
4 years, 2 months ago (2016-10-05 22:48:37 UTC) #28
dcheng
My personal preference would be to make RequestInfo default constructible, since that would make things ...
4 years, 2 months ago (2016-10-05 23:18:27 UTC) #29
Sam McNally
+rockot for //mojo
4 years, 2 months ago (2016-10-06 07:13:48 UTC) #31
Ken Rockot(use gerrit already)
lgtm
4 years, 2 months ago (2016-10-07 16:14:59 UTC) #32
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/2083463002/170001
4 years, 2 months ago (2016-10-09 22:24:25 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:170001)
4 years, 2 months ago (2016-10-09 23:26:27 UTC) #36
commit-bot: I haz the power
4 years, 2 months ago (2016-10-09 23:28:20 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/170917fcc907d4e4c9b13d2a367dc5da2ac6b406
Cr-Commit-Position: refs/heads/master@{#424110}

Powered by Google App Engine
This is Rietveld 408576698