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

Unified Diff: mojo/public/cpp/bindings/associated_binding.h

Issue 2064903002: Mojo: Report bindings validation errors via MojoNotifyBadMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/cpp/bindings/associated_binding.h
diff --git a/mojo/public/cpp/bindings/associated_binding.h b/mojo/public/cpp/bindings/associated_binding.h
index 2d4e3392230bc936a18978e692f8c6c49b925014..cb38ad47ab9207d1f635837cd162a95d09031c9a 100644
--- a/mojo/public/cpp/bindings/associated_binding.h
+++ b/mojo/public/cpp/bindings/associated_binding.h
@@ -103,6 +103,7 @@ class AssociatedBinding {
Interface::HasSyncMethods_, std::move(runner)));
endpoint_client_->set_connection_error_handler(
[this]() { connection_error_handler_.Run(); });
+ endpoint_client_->set_interface_name(Interface::Name_);
stub_.serialization_context()->router = endpoint_client_->router();
}

Powered by Google App Engine
This is Rietveld 408576698