#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_executor.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/receiver_set.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/service_manager/public/cpp/binder_registry.h"
#include "services/service_manager/public/cpp/connector.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/tests/shutdown/shutdown.test-mojom.h"
namespace service_manager {
class ShutdownClientApp : public Service,
public mojom::ShutdownTestClientController,
public mojom::ShutdownTestClient { … };
}
void ServiceMain(
mojo::PendingReceiver<service_manager::mojom::Service> receiver) { … }