#include "services/service_manager/tests/lifecycle/app_client.h"
#include "base/run_loop.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/service_manager/public/cpp/service_receiver.h"
namespace service_manager {
namespace test {
AppClient::AppClient(
mojo::PendingReceiver<service_manager::mojom::Service> receiver)
: … { … }
AppClient::~AppClient() = default;
void AppClient::OnBindInterface(const BindSourceInfo& source_info,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe) { … }
void AppClient::OnDisconnected() { … }
void AppClient::Create(
mojo::PendingReceiver<mojom::LifecycleControl> receiver) { … }
void AppClient::Ping(PingCallback callback) { … }
void AppClient::GracefulQuit() { … }
void AppClient::Crash() { … }
void AppClient::CloseServiceManagerConnection() { … }
void AppClient::LifecycleControlBindingLost() { … }
}
}