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

Issue 2146153002: Mojo typemap config: support "copyable_pass_by_value" attribute. (Closed)

Created:
4 years, 5 months ago by yzshen1
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_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@69_change_move_only
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo typemap config: support "copyable_pass_by_value" attribute. This attribute is used with copyable TrivialStruct which should be passed by value. It is not transitive. std::vector<TrivialStruct> will be passed by const ref, for example. It is added because people think it is useful to make base::Time* pass by value to be more consistent with our style requirements. BUG=624136 Committed: https://crrev.com/955bec3b94a157ed7235df10b1fe9d474ccd193f Cr-Commit-Position: refs/heads/master@{#406084}

Patch Set 1 #

Patch Set 2 : Merge remote-tracking branch 'refs/remotes/origin/master' into 71_add_pass_by_value_copyable #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -37 lines) Patch
M mojo/public/cpp/bindings/tests/struct_traits_unittest.cc View 2 chunks +33 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_with_traits.typemap View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/struct_with_traits_impl.h View 1 chunk +12 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h View 1 2 1 chunk +24 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/struct_with_traits.mojom View 2 chunks +15 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/generate_type_mappings.py View 2 chunks +5 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 24 (12 generated)
yzshen1
Hi, Ken and Daniel. Please take a look. Thanks! Ken: everything Daniel: security (I don't ...
4 years, 5 months ago (2016-07-13 21:15:17 UTC) #2
dcheng
On 2016/07/13 21:15:17, yzshen1 wrote: > Hi, Ken and Daniel. > > Please take a ...
4 years, 5 months ago (2016-07-14 02:48:43 UTC) #3
yzshen1
On 2016/07/14 02:48:43, dcheng wrote: > On 2016/07/13 21:15:17, yzshen1 wrote: > > Hi, Ken ...
4 years, 5 months ago (2016-07-14 05:12:58 UTC) #4
yzshen1
Friendly ping, Ken.
4 years, 5 months ago (2016-07-18 16:17:32 UTC) #9
Ken Rockot(use gerrit already)
Woops, sorry, I thought I had already stamped this! LGTM
4 years, 5 months ago (2016-07-18 16:20:53 UTC) #10
yzshen1
On 2016/07/18 16:20:53, Ken Rockot wrote: > Woops, sorry, I thought I had already stamped ...
4 years, 5 months ago (2016-07-18 16:23:08 UTC) #11
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/2146153002/40001
4 years, 5 months ago (2016-07-18 17:47:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/54305)
4 years, 5 months ago (2016-07-18 19:26:10 UTC) #18
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/2146153002/40001
4 years, 5 months ago (2016-07-18 19:28:43 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-18 20:35:45 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 20:35:50 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 20:38:44 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/955bec3b94a157ed7235df10b1fe9d474ccd193f
Cr-Commit-Position: refs/heads/master@{#406084}

Powered by Google App Engine
This is Rietveld 408576698