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

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

Issue 2498743002: Mojo: introducing a thread safe interface pointer. (Closed)
Patch Set: Mojo: introducing a thread safe interface pointer. Created 4 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/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 cfc4ef6770d7d3db24188718b1dac39cbed8aa0e..91726e580db3b9260db1402f6477a84ded58d23b 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
@@ -11,11 +11,11 @@ class {{export_attribute}} {{interface.name}}Proxy
void {{method.name}}({{interface_macros.declare_request_params("", method)}}) override;
{%- endfor %}
- mojo::internal::SerializationContext* serialization_context() {
- return &serialization_context_;
+ void set_group_controller(
+ scoped_refptr<mojo::AssociatedGroupController> group_controller) {
+ group_controller_ = std::move(group_controller);
}
-
private:
mojo::MessageReceiverWithResponder* receiver_;
- mojo::internal::SerializationContext serialization_context_;
+ scoped_refptr<mojo::AssociatedGroupController> group_controller_;
};

Powered by Google App Engine
This is Rietveld 408576698