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

Unified Diff: mojo/public/cpp/bindings/tests/associated_interface_unittest.cc

Issue 2515873003: Mojo C++ Bindings: Introduce mojo::SupportsStrongBinding
Patch Set: . 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/cpp/bindings/tests/associated_interface_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc b/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
index c69ccefbfb9ed55b69fd1380cd33a52fd6075311..8a41c36639f9900e88f0433078b0e984a99249b4 100644
--- a/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
@@ -63,7 +63,8 @@ class IntegerSenderImpl : public IntegerSender {
base::Callback<void(int32_t)> notify_send_method_called_;
};
-class IntegerSenderConnectionImpl : public IntegerSenderConnection {
+class IntegerSenderConnectionImpl
+ : public SupportsStrongBinding<IntegerSenderConnection> {
public:
explicit IntegerSenderConnectionImpl(
InterfaceRequest<IntegerSenderConnection> request)

Powered by Google App Engine
This is Rietveld 408576698