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

Unified Diff: mojo/public/bindings/sample/sample_service.mojom

Issue 66353002: Mojo: RemotePtr<S> + bindings changes for Peer attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix error in sample_service.h Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/bindings/sample/sample_service.idl ('k') | mojo/public/tests/bindings_remote_ptr_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/sample/sample_service.mojom
diff --git a/mojo/public/bindings/sample/sample_service.mojom b/mojo/public/bindings/sample/sample_service.mojom
index a2903f35536c79a96431ea56c9a15a9caba0124c..134739aecacf95bddda76d0b096ac30a36d7e8f8 100644
--- a/mojo/public/bindings/sample/sample_service.mojom
+++ b/mojo/public/bindings/sample/sample_service.mojom
@@ -21,11 +21,21 @@
{'name': 'files', 'kind': 'a:h', 'ordinal': 9}]}],
'interfaces': [{
'name': 'Service',
+ 'attributes':
+ {'Peer': 'ServiceClient'},
'methods': [{
'name': 'Frobinate',
'ordinal': 0,
'parameters': [
{'name': 'foo', 'kind': 'x:Foo', 'ordinal': 0},
{'name': 'baz', 'kind': 'b', 'ordinal': 1},
- {'name': 'port', 'kind': 'h', 'ordinal': 2}]}]}]
+ {'name': 'port', 'kind': 'h', 'ordinal': 2}]}]}, {
+ 'name': 'ServiceClient',
+ 'attributes':
+ {'Peer': 'Service'},
+ 'methods': [{
+ 'name': 'DidFrobinate',
+ 'ordinal': 0,
+ 'parameters': [
+ {'name': 'result', 'kind': 'i32', 'ordinal': 0}]}]}]
}
« no previous file with comments | « mojo/public/bindings/sample/sample_service.idl ('k') | mojo/public/tests/bindings_remote_ptr_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698