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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl

Issue 2280483002: Add FlushForTesting to InterfacePtr and Binding. (Closed)
Patch Set: Created 4 years, 3 months 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/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
index 3dd915a610e2c290ccce7b866927655eab052792..cfc4ef6770d7d3db24188718b1dac39cbed8aa0e 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl
@@ -1,7 +1,6 @@
{%- import "interface_macros.tmpl" as interface_macros %}
class {{export_attribute}} {{interface.name}}Proxy
- : public {{interface.name}},
- public NON_EXPORTED_BASE(mojo::internal::ControlMessageProxy) {
+ : public {{interface.name}} {
public:
explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver);
@@ -17,5 +16,6 @@ class {{export_attribute}} {{interface.name}}Proxy
}
private:
+ mojo::MessageReceiverWithResponder* receiver_;
mojo::internal::SerializationContext serialization_context_;
};

Powered by Google App Engine
This is Rietveld 408576698