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

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: 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/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..3e9267db3cb745d2f9f938e3bd4516c2fd7e8e4a 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 _ProxyType;
+ typedef ${CLASS}Stub _StubType;
+ typedef $PEER _PeerType;
$METHODS
};

Powered by Google App Engine
This is Rietveld 408576698