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

Issue 66353002: Mojo: RemotePtr<S> + bindings changes for Peer attribute. (Closed)

Created:
7 years, 1 month ago by darin (slow to review)
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Mojo: RemotePtr<S> + bindings changes for Peer attribute. This adds an end-to-end test of the system w/ generated code as part of the CL. The generated code can be deleted once we have a GYP rule for generating code. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234681

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : #

Patch Set 4 : Fix build issues #

Patch Set 5 : Move forward declarations to interface_declaration #

Total comments: 5

Patch Set 6 : _PeerType -> _Peer, etc. #

Total comments: 1

Patch Set 7 : rebase + fix error in sample_service.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+875 lines, -30 lines) Patch
M mojo/mojo.gyp View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/interface_declaration View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/module.cc-template View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/bindings/generators/cpp_templates/params_serialization View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/bindings/generators/cpp_templates/template_declaration View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/public/bindings/generators/mojom.py View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/bindings/generators/mojom_cpp_generator.py View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/bindings/generators/mojom_data.py View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A mojo/public/bindings/lib/remote_ptr.h View 1 2 3 4 5 1 chunk +77 lines, -0 lines 0 comments Download
M mojo/public/bindings/parser/mojo_translate.py View 1 2 3 4 5 3 chunks +12 lines, -2 lines 0 comments Download
M mojo/public/bindings/sample/generated/sample_service.h View 1 2 3 4 5 6 2 chunks +36 lines, -0 lines 0 comments Download
M mojo/public/bindings/sample/generated/sample_service.cc View 3 chunks +86 lines, -0 lines 0 comments Download
M mojo/public/bindings/sample/sample_service.idl View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/bindings/sample/sample_service.mojom View 1 chunk +11 lines, -1 line 0 comments Download
A mojo/public/tests/bindings_remote_ptr_unittest.cc View 1 2 3 4 5 1 chunk +117 lines, -0 lines 0 comments Download
A mojo/public/tests/math_calculator.mojom View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A + mojo/public/tests/mojom/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A mojo/public/tests/mojom/math_calculator.h View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A mojo/public/tests/mojom/math_calculator.cc View 1 2 3 4 5 1 chunk +366 lines, -0 lines 0 comments Download
A mojo/public/tests/mojom/math_calculator_internal.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M mojo/public/tests/simple_bindings_support.cc View 1 2 3 4 5 6 1 chunk +22 lines, -18 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
darin (slow to review)
As of patch set #1, what remains is: 1- Add support for attributes to mojom.py ...
7 years, 1 month ago (2013-11-08 08:52:32 UTC) #1
DaveMoore
https://codereview.chromium.org/66353002/diff/250001/mojo/public/bindings/generators/mojom_cpp_generator.py File mojo/public/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/66353002/diff/250001/mojo/public/bindings/generators/mojom_cpp_generator.py#newcode311 mojo/public/bindings/generators/mojom_cpp_generator.py:311: (method.name, ", ".join(params), method_postfix)) Since this ends up being ...
7 years, 1 month ago (2013-11-11 18:49:04 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/66353002/diff/250001/mojo/public/bindings/sample/sample_service.idl File mojo/public/bindings/sample/sample_service.idl (right): https://codereview.chromium.org/66353002/diff/250001/mojo/public/bindings/sample/sample_service.idl#newcode29 mojo/public/bindings/sample/sample_service.idl:29: [Peer=ServiceClient] I'm not sure you can guarantee it'd be ...
7 years, 1 month ago (2013-11-11 19:10:15 UTC) #3
darin (slow to review)
Dave and I chatted and decided on sticking with the current IDL syntax for now. ...
7 years, 1 month ago (2013-11-11 22:13:32 UTC) #4
darin (slow to review)
On 2013/11/11 22:13:32, darin wrote: > Dave and I chatted and decided on sticking with ...
7 years, 1 month ago (2013-11-12 00:48:41 UTC) #5
darin (slow to review)
On 2013/11/11 22:13:32, darin wrote: > Dave and I chatted and decided on sticking with ...
7 years, 1 month ago (2013-11-12 00:48:43 UTC) #6
DaveMoore
https://codereview.chromium.org/66353002/diff/360001/mojo/public/bindings/sample/generated/sample_service.h File mojo/public/bindings/sample/generated/sample_service.h (right): https://codereview.chromium.org/66353002/diff/360001/mojo/public/bindings/sample/generated/sample_service.h#newcode119 mojo/public/bindings/sample/generated/sample_service.h:119: typedef ServiceProxy _ProxyType; In interface_declaration the "Type" has been ...
7 years, 1 month ago (2013-11-12 01:15:37 UTC) #7
darin (slow to review)
Oops, will fix. Does the rest look alright? Thanks! On Nov 11, 2013 5:15 PM, ...
7 years, 1 month ago (2013-11-12 01:33:45 UTC) #8
DaveMoore
LGTM if the Type thing is fixed
7 years, 1 month ago (2013-11-12 18:54:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/66353002/470001
7 years, 1 month ago (2013-11-12 20:16:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/66353002/470001
7 years, 1 month ago (2013-11-12 23:40:27 UTC) #11
commit-bot: I haz the power
7 years, 1 month ago (2013-11-13 00:44:50 UTC) #12
Message was sent while issue was closed.
Change committed as 234681

Powered by Google App Engine
This is Rietveld 408576698