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

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

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
Index: mojo/public/bindings/sample/sample_service.idl
diff --git a/mojo/public/bindings/sample/sample_service.idl b/mojo/public/bindings/sample/sample_service.idl
index 3358a58f07ec02a6c7898eafcbdb17bf00cb1d3e..a1079a518359b973284489e1e37b78da16201691 100644
--- a/mojo/public/bindings/sample/sample_service.idl
+++ b/mojo/public/bindings/sample/sample_service.idl
@@ -26,8 +26,14 @@ struct Foo {
handle[] files @9;
};
+[Peer=ServiceClient]
interface Service {
void Frobinate(Foo foo @0, bool baz @1, handle port @2) @0;
};
+[Peer=Service]
+interface ServiceClient {
+ void DidFrobinate(int32 result @0) @0;
+};
+
}
« no previous file with comments | « mojo/public/bindings/sample/generated/sample_service.cc ('k') | mojo/public/bindings/sample/sample_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698