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

Unified Diff: mojo/services/test_service/test_service_application.cc

Issue 718473003: Add mojo::Binding<Interface> for more flexible pipe<->impl binding (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/services/test_service/test_service_application.cc
diff --git a/mojo/services/test_service/test_service_application.cc b/mojo/services/test_service/test_service_application.cc
index f08e1833e0d00e47f6b0a95703ef6cbcaed80b93..1ccb2e44df3fa9e1216535599c3f266348d0d524 100644
--- a/mojo/services/test_service/test_service_application.cc
+++ b/mojo/services/test_service/test_service_application.cc
@@ -32,6 +32,7 @@ bool TestServiceApplication::ConfigureIncomingConnection(
void TestServiceApplication::Create(ApplicationConnection* connection,
InterfaceRequest<TestService> request) {
BindToRequest(new TestServiceImpl(connection, this), &request);
+ AddRef();
DaveMoore 2014/11/11 17:18:45 Another new need to do something...can we bring ba
}
void TestServiceApplication::Create(ApplicationConnection* connection,

Powered by Google App Engine
This is Rietveld 408576698