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

Unified Diff: mojo/public/cpp/application/lib/service_connector.cc

Issue 337533002: Introduce internal::ServiceRegistry to prepare for ServiceProvider split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review concerns Created 6 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/application/lib/service_connector.cc
diff --git a/mojo/public/cpp/application/lib/service_connector.cc b/mojo/public/cpp/application/lib/service_connector.cc
index 3c53be011b900944a93884671365c60a83845532..5cc4421b7aaa9f4b930c86abc08d4377f3ae7e7d 100644
--- a/mojo/public/cpp/application/lib/service_connector.cc
+++ b/mojo/public/cpp/application/lib/service_connector.cc
@@ -7,16 +7,11 @@
namespace mojo {
namespace internal {
-ServiceConnectorBase::Owner::Owner() {}
-
-ServiceConnectorBase::Owner::Owner(
- ScopedMessagePipeHandle service_provider_handle) {
- service_provider_.Bind(service_provider_handle.Pass());
- service_provider_.set_client(this);
+ServiceConnectorBase::ServiceConnectorBase(const std::string& name)
+ : name_(name),
+ registry_(NULL) {
}
-ServiceConnectorBase::Owner::~Owner() {}
-
ServiceConnectorBase::~ServiceConnectorBase() {}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698