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

Unified Diff: mojo/public/bindings/generators/cpp_templates/interface_declaration

Issue 66353002: Mojo: RemotePtr<S> + bindings changes for Peer attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _PeerType -> _Peer, etc. 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/generators/cpp_templates/interface_declaration
diff --git a/mojo/public/bindings/generators/cpp_templates/interface_declaration b/mojo/public/bindings/generators/cpp_templates/interface_declaration
index aa6411fc311ee2a7ecd9b68e5e3f1e75f446b95d..3fa1b3439d1d0becc60eca2f1781471cf50d05fa 100644
--- a/mojo/public/bindings/generators/cpp_templates/interface_declaration
+++ b/mojo/public/bindings/generators/cpp_templates/interface_declaration
@@ -1,4 +1,11 @@
+class ${CLASS}Proxy;
+class ${CLASS}Stub;
+class $PEER;
+
class $CLASS {
public:
+ typedef ${CLASS}Proxy _Proxy;
+ typedef ${CLASS}Stub _Stub;
+ typedef $PEER _Peer;
$METHODS
};

Powered by Google App Engine
This is Rietveld 408576698