| Index: services/service_manager/public/cpp/lib/service.cc
|
| diff --git a/services/service_manager/public/cpp/lib/service.cc b/services/service_manager/public/cpp/lib/service.cc
|
| index 1cc8f631f96a95185f53bf4f30550650ea26b71d..7d0d72a269cc14988e116a0c9601a763c6c3cfd1 100644
|
| --- a/services/service_manager/public/cpp/lib/service.cc
|
| +++ b/services/service_manager/public/cpp/lib/service.cc
|
| @@ -4,33 +4,12 @@
|
|
|
| #include "services/service_manager/public/cpp/service.h"
|
|
|
| -#include "services/service_manager/public/cpp/service_context.h"
|
| -#include "services/service_manager/public/cpp/service_info.h"
|
| -
|
| namespace service_manager {
|
|
|
| -Service::Service() {}
|
| Service::~Service() {}
|
|
|
| -void Service::OnStart(const ServiceInfo& info) {}
|
| -
|
| -bool Service::OnConnect(const ServiceInfo& remote_info,
|
| - InterfaceRegistry* registry) {
|
| - return false;
|
| -}
|
| +void Service::OnStart(ServiceContext* context) {}
|
|
|
| bool Service::OnStop() { return true; }
|
|
|
| -Connector* Service::connector() {
|
| - return context_->connector();
|
| -}
|
| -
|
| -ServiceContext* Service::context() {
|
| - return context_.get();
|
| -}
|
| -
|
| -void Service::set_context(std::unique_ptr<ServiceContext> context) {
|
| - context_ = std::move(context);
|
| -}
|
| -
|
| } // namespace service_manager
|
|
|