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

Issue 2247083003: Mojo C++ bindings: extract code shared by different variants. (Closed)

Created:
4 years, 4 months ago by yzshen1
Modified:
4 years, 4 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, xlai (Olivia), yzshen+watch_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: extract code shared by different variants. - enums, including those defined inside structs and interfaces. - struct and union internal data types (i.e., the wire format definition). BUG=632061 Committed: https://crrev.com/f0a39ef09ff38dd10fe170c9bad90b7e3d0f4ed1 Cr-Commit-Position: refs/heads/master@{#413415}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -379 lines) Patch
M mojo/public/tools/bindings/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl View 1 2 2 chunks +40 lines, -43 lines 1 comment Download
M mojo/public/tools/bindings/generators/cpp_templates/enum_serialization_declaration.tmpl View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 chunk +1 line, -6 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl View 1 2 1 chunk +0 lines, -130 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module-shared-internal.h.tmpl View 1 2 3 4 5 1 chunk +91 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module-shared.cc.tmpl View 1 2 3 4 5 1 chunk +60 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl View 1 2 3 4 5 1 chunk +54 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl View 1 2 3 4 5 2 chunks +0 lines, -41 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 2 3 4 5 7 chunks +5 lines, -94 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/validation_macros.tmpl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl View 2 chunks +1 line, -7 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 2 3 4 5 10 chunks +66 lines, -34 lines 0 comments Download
M mojo/public/tools/bindings/mojom.gni View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationManager.h View 1 1 chunk +0 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 64 (44 generated)
yzshen1
Hi, Ken. Would you please take a look? Thanks!
4 years, 4 months ago (2016-08-16 22:26:56 UTC) #25
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2247083003/diff/100001/mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl File mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl (right): https://codereview.chromium.org/2247083003/diff/100001/mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl#newcode6 mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl:6: {%- set enum_name = enum|get_name_for_kind(flatten_nested_kind=True) %} clever solution ...
4 years, 4 months ago (2016-08-17 15:10:55 UTC) #28
xlai (Olivia)
Thanks a lot for doing this!
4 years, 4 months ago (2016-08-17 17:16:53 UTC) #30
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/2247083003/100001
4 years, 4 months ago (2016-08-17 17:17:16 UTC) #32
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/239986)
4 years, 4 months ago (2016-08-17 17:23:48 UTC) #34
yzshen1
+Michael for owner review for third_party/WebKit/Source/modules/notifications/NotificationManager.h
4 years, 4 months ago (2016-08-17 17:28:18 UTC) #36
Michael van Ouwerkerk
rs lgtm
4 years, 4 months ago (2016-08-18 11:40:46 UTC) #38
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/2247083003/100001
4 years, 4 months ago (2016-08-18 19:08:37 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/264237)
4 years, 4 months ago (2016-08-18 21:59:26 UTC) #42
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/2247083003/100001
4 years, 4 months ago (2016-08-18 22:02:15 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/276488)
4 years, 4 months ago (2016-08-19 00:57:10 UTC) #46
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/2247083003/100001
4 years, 4 months ago (2016-08-19 14:38:06 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/277092)
4 years, 4 months ago (2016-08-19 17:00:37 UTC) #50
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/2247083003/100001
4 years, 4 months ago (2016-08-19 22:41:54 UTC) #52
commit-bot: I haz the power
Exceeded global retry quota
4 years, 4 months ago (2016-08-20 02:20:01 UTC) #54
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/2247083003/100001
4 years, 4 months ago (2016-08-22 04:06:08 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/265780)
4 years, 4 months ago (2016-08-22 05:27:06 UTC) #58
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/2247083003/100001
4 years, 4 months ago (2016-08-22 06:10:48 UTC) #60
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-22 07:48:10 UTC) #62
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 07:49:40 UTC) #64
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f0a39ef09ff38dd10fe170c9bad90b7e3d0f4ed1
Cr-Commit-Position: refs/heads/master@{#413415}

Powered by Google App Engine
This is Rietveld 408576698