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

Unified Diff: mojo/services/test_service/test_service_impl.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: Rename Binding::router() -> Binding::internal_router() 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_impl.cc
diff --git a/mojo/services/test_service/test_service_impl.cc b/mojo/services/test_service/test_service_impl.cc
index 073ccce904be15859e16674325df43e435db5ca9..b7414aa3ab1dcf07d4c168bcea431cae5b77e647 100644
--- a/mojo/services/test_service/test_service_impl.cc
+++ b/mojo/services/test_service/test_service_impl.cc
@@ -23,10 +23,6 @@ TestServiceImpl::TestServiceImpl(ApplicationConnection* connection,
TestServiceImpl::~TestServiceImpl() {
}
-void TestServiceImpl::OnConnectionEstablished() {
- application_->AddRef();
-}
-
void TestServiceImpl::OnConnectionError() {
application_->ReleaseRef();
}

Powered by Google App Engine
This is Rietveld 408576698