#include <memory>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_executor.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_executable/service_main.h"
#include "services/service_manager/public/cpp/service_receiver.h"
#include "services/service_manager/public/mojom/service.mojom.h"
#include "services/service_manager/tests/service_manager/test_manifests.h"
namespace {
class PackagedService : public service_manager::Service { … };
class Embedder : public service_manager::Service { … };
}
void ServiceMain(
mojo::PendingReceiver<service_manager::mojom::Service> receiver) { … }