Index: mojo/application/public/cpp/lib/service_provider_impl.cc |
diff --git a/mojo/application/public/cpp/lib/service_provider_impl.cc b/mojo/application/public/cpp/lib/service_provider_impl.cc |
deleted file mode 100644 |
index 03e57efbfb139dbfbe00632af00070ff0f765473..0000000000000000000000000000000000000000 |
--- a/mojo/application/public/cpp/lib/service_provider_impl.cc |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include <utility> |
- |
-#include "mojo/application/public/cpp/service_connector.h" |
-#include "mojo/application/public/cpp/service_provider_impl.h" |
-#include "mojo/public/cpp/environment/logging.h" |
- |
-namespace mojo { |
- |
-ServiceProviderImpl::ServiceProviderImpl() : binding_(this) { |
-} |
- |
-ServiceProviderImpl::ServiceProviderImpl( |
- InterfaceRequest<ServiceProvider> request) |
- : binding_(this, std::move(request)) {} |
- |
-ServiceProviderImpl::~ServiceProviderImpl() { |
-} |
- |
-void ServiceProviderImpl::Bind(InterfaceRequest<ServiceProvider> request) { |
- binding_.Bind(std::move(request)); |
-} |
- |
-void ServiceProviderImpl::ConnectToService( |
- const String& service_name, |
- ScopedMessagePipeHandle client_handle) { |
- // TODO(beng): perhaps take app connection thru ctor so that we can pass |
- // ApplicationConnection through? |
- service_connector_registry_.ConnectToService(nullptr, service_name, |
- std::move(client_handle)); |
-} |
- |
-void ServiceProviderImpl::SetServiceConnectorForName( |
- ServiceConnector* service_connector, |
- const std::string& interface_name) { |
- service_connector_registry_.SetServiceConnectorForName(service_connector, |
- interface_name); |
-} |
- |
-} // namespace mojo |