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

Issue 2660733002: Mojo C++ bindings: introduce an optional array to store transferred interface IDs in messages. (Closed)

Created:
3 years, 10 months ago by yzshen1
Modified:
3 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, wangjimmy, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo C++ bindings: introduce an optional array to store transferred interface IDs in messages. This is part of the work to simplify the associated interface API. BUG=682334 TBR=rockot@chromium.org (Ken has LGed, but maybe this could bypass the PRESUBMIT bug?) Review-Url: https://codereview.chromium.org/2660733002 Cr-Commit-Position: refs/heads/master@{#447331} Committed: https://chromium.googlesource.com/chromium/src/+/ea784ea651063e3add479242fc5c43c4bef2fe4b

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 2

Patch Set 8 : sync to ToT (no manual resolve) #

Total comments: 4

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1114 lines, -424 lines) Patch
M ipc/ipc_mojo_bootstrap.cc View 1 2 3 4 5 6 7 8 16 chunks +112 lines, -18 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 2 chunks +0 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/array_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/array_serialization.h View 1 chunk +11 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 2 chunks +0 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/bindings_internal.h View 1 3 chunks +15 lines, -8 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_handler.cc View 3 chunks +9 lines, -8 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_proxy.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/handle_interface_serialization.h View 1 5 chunks +58 lines, -12 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/message.cc View 1 2 3 4 5 6 7 8 6 chunks +104 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/message_builder.h View 1 2 chunks +9 lines, -50 lines 0 comments Download
M mojo/public/cpp/bindings/lib/message_builder.cc View 1 2 3 4 5 6 7 8 2 chunks +40 lines, -27 lines 0 comments Download
M mojo/public/cpp/bindings/lib/message_header_validator.cc View 1 2 3 4 5 4 chunks +66 lines, -28 lines 0 comments Download
M mojo/public/cpp/bindings/lib/message_internal.h View 1 2 chunks +12 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.cc View 1 2 3 4 5 6 7 8 18 chunks +128 lines, -33 lines 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_handler.cc View 1 3 chunks +7 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_context.h View 1 2 chunks +8 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_context.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_context.h View 1 4 chunks +30 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_context.cc View 1 2 chunks +11 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_errors.cc View 1 chunk +1 line, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_util.h View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_util.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/message.h View 1 4 chunks +51 lines, -19 lines 0 comments Download
M mojo/public/cpp/bindings/pipe_control_message_handler.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/tests/bindings_perftest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/tests/connector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/router_test_util.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/union_unittest.cc View 24 chunks +24 lines, -24 lines 0 comments Download
M mojo/public/cpp/bindings/tests/validation_context_unittest.cc View 13 chunks +96 lines, -13 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_good.data View 1 chunk +15 lines, -2 lines 0 comments Download
A mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_illegal_invalid_interface_id.data View 1 chunk +24 lines, -0 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_illegal_invalid_interface_id.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
A mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_illegal_master_interface_id.data View 1 chunk +24 lines, -0 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_illegal_master_interface_id.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
A mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_interface_id_index_out_of_range.data View 1 chunk +27 lines, -0 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_interface_id_index_out_of_range.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd0_unexpected_invalid_associated_interface.data View 1 chunk +14 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd1_good.data View 1 chunk +15 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd1_unexpected_invalid_associated_request.data View 1 chunk +16 lines, -3 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd2_good.data View 1 chunk +7 lines, -4 lines 0 comments Download
A mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd2_good.expected View 1 chunk +1 line, -0 lines 0 comments Download
D mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd2_master_interface_id.data View 1 chunk +0 lines, -15 lines 0 comments Download
D mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd2_master_interface_id.expected View 1 chunk +0 lines, -1 line 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_collided_interface_id_indices.data View 2 chunks +18 lines, -3 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_collided_interface_id_indices.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_good.data View 2 chunks +17 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_unexpected_invalid_associated_interface_in_array.data View 2 chunks +18 lines, -3 lines 0 comments Download
A mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_wrong_interface_id_index_order.data View 1 chunk +38 lines, -0 lines 0 comments Download
A + mojo/public/interfaces/bindings/tests/data/validation/associated_conformance_mthd3_wrong_interface_id_index_order.expected View 0 chunks +-1 lines, --1 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 20 chunks +51 lines, -54 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl View 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl View 1 3 chunks +3 lines, -12 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (29 generated)
yzshen1
Hi, Ken. Would you please take a look? Thanks!
3 years, 10 months ago (2017-01-30 19:32:17 UTC) #3
Ken Rockot(use gerrit already)
The Message format changes themselves look fine, and LGTM overall if you still want to ...
3 years, 10 months ago (2017-01-31 18:33:43 UTC) #22
yzshen1
> The Message format changes themselves look fine, and LGTM overall if you still > ...
3 years, 10 months ago (2017-01-31 19:26:05 UTC) #23
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/2660733002/160001
3 years, 10 months ago (2017-01-31 19:28:08 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/354091)
3 years, 10 months ago (2017-01-31 19:39:16 UTC) #28
yzshen1
On 2017/01/31 19:39:16, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-01-31 20:14:24 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/2660733002/160001
3 years, 10 months ago (2017-01-31 20:15:05 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/354131)
3 years, 10 months ago (2017-01-31 20:26:08 UTC) #33
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/2660733002/160001
3 years, 10 months ago (2017-01-31 20:38:42 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 21:21:07 UTC) #39
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ea784ea651063e3add479242fc5c...

Powered by Google App Engine
This is Rietveld 408576698