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 2130463002: Mojo C++ bindings: allow StructTraits to return handle or interface types as value. (Closed)

Created:
4 years, 5 months ago by yzshen1
Modified:
4 years, 5 months ago
Reviewers:
Peng
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo C++ bindings: allow StructTraits to return handle or interface types as value. BUG=None Committed: https://crrev.com/2e4dc1d8ca9272837a42daba2626bcd026fd03d8 Cr-Commit-Position: refs/heads/master@{#404035}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h View 1 chunk +2 lines, -2 lines 1 comment Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl View 1 chunk +5 lines, -1 line 2 comments Download

Messages

Total messages: 20 (7 generated)
yzshen1
Hi, Peng. Would you please take a look? Thanks!
4 years, 5 months ago (2016-07-06 17:58:54 UTC) #2
Peng
https://codereview.chromium.org/2130463002/diff/1/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h File mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h (right): https://codereview.chromium.org/2130463002/diff/1/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h#newcode105 mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h:105: return std::move(value.get_mutable_handle()); Yes. This is what I need. https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl ...
4 years, 5 months ago (2016-07-06 18:05:26 UTC) #3
yzshen1
https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl File mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl (right): https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl#newcode80 mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl:80: {%- if kind|is_array_kind or kind|is_map_kind %} On 2016/07/06 18:05:26, ...
4 years, 5 months ago (2016-07-06 18:07:25 UTC) #4
Peng
On 2016/07/06 18:07:25, yzshen1 wrote: > https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl > File mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl > (right): > > https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl#newcode80 ...
4 years, 5 months ago (2016-07-06 18:15:26 UTC) #5
Peng
On 2016/07/06 18:07:25, yzshen1 wrote: > https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl > File mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl > (right): > > https://codereview.chromium.org/2130463002/diff/1/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl#newcode80 ...
4 years, 5 months ago (2016-07-06 18:15:28 UTC) #6
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/2130463002/1
4 years, 5 months ago (2016-07-06 18:17:04 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/99146)
4 years, 5 months ago (2016-07-06 19:48:33 UTC) #10
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/2130463002/1
4 years, 5 months ago (2016-07-06 20:22:38 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/99430)
4 years, 5 months ago (2016-07-06 23:51:37 UTC) #14
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/2130463002/1
4 years, 5 months ago (2016-07-06 23:57:55 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-07 02:38:49 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 02:38:53 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 02:41:50 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2e4dc1d8ca9272837a42daba2626bcd026fd03d8
Cr-Commit-Position: refs/heads/master@{#404035}

Powered by Google App Engine
This is Rietveld 408576698