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

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: Move forward declarations to interface_declaration 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]
DaveMoore 2013/11/11 18:49:05 It's a bit fragile that you have to specify this p
Ben Goodger (Google) 2013/11/11 19:10:16 I'm not sure you can guarantee it'd be only ack-ty
interface Service {
void Frobinate(Foo foo @0, bool baz @1, handle port @2) @0;
};
+[Peer=Service]
+interface ServiceClient {
+ void DidFrobinate(int32 result @0) @0;
+};
+
}

Powered by Google App Engine
This is Rietveld 408576698