blob: 87183d3f95597381b71ccb3d9ed6ae58dd9d0820 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_STORAGE_FACTORY_FACTORYFS_ADMIN_SERVICE_H_
#define SRC_STORAGE_FACTORY_FACTORYFS_ADMIN_SERVICE_H_
#include "src/lib/storage/vfs/cpp/service.h"
#include "src/storage/factory/factoryfs/runner.h"
namespace factoryfs {
class AdminService : public fidl::WireServer<fuchsia_fs::Admin>, public fs::Service {
public:
AdminService(async_dispatcher_t* dispatcher, Runner& runner);
void Shutdown(ShutdownRequestView request, ShutdownCompleter::Sync& completer) override;
private:
Runner& runner_;
};
} // namespace factoryfs
#endif // SRC_STORAGE_FACTORY_FACTORYFS_ADMIN_SERVICE_H_