chromium/services/service_manager/public/cpp/service_receiver.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/service_manager/public/cpp/service_receiver.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/synchronization/lock.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/service_manager/public/cpp/service.h"

namespace service_manager {

ServiceReceiver::ServiceReceiver(service_manager::Service* service)
    :{}

ServiceReceiver::ServiceReceiver(service_manager::Service* service,
                                 mojo::PendingReceiver<mojom::Service> receiver)
    :{}

ServiceReceiver::~ServiceReceiver() = default;

Connector* ServiceReceiver::GetConnector() {}

void ServiceReceiver::Bind(mojo::PendingReceiver<mojom::Service> receiver) {}

void ServiceReceiver::RequestClose() {}

void ServiceReceiver::Close() {}

void ServiceReceiver::OnConnectionError() {}

void ServiceReceiver::OnStart(const Identity& identity,
                              OnStartCallback callback) {}

void ServiceReceiver::OnBindInterface(
    const BindSourceInfo& source_info,
    const std::string& interface_name,
    mojo::ScopedMessagePipeHandle interface_pipe,
    OnBindInterfaceCallback callback) {}

void ServiceReceiver::CreatePackagedServiceInstance(
    const Identity& identity,
    mojo::PendingReceiver<mojom::Service> receiver,
    mojo::PendingRemote<mojom::ProcessMetadata> metadata) {}

}  // namespace service_manager