blob: b3ce04ba9bfaa56694ffc1d3dee4e982c9d1bc46 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS 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 DEBUGD_SRC_STORAGE_TOOL_H_
#define DEBUGD_SRC_STORAGE_TOOL_H_
#include <string>
#include <base/macros.h>
#include <dbus/file_descriptor.h>
#include "debugd/src/subprocess_tool.h"
namespace debugd {
class StorageTool : public SubprocessTool {
public:
StorageTool() = default;
~StorageTool() override = default;
std::string Smartctl(const std::string& option);
std::string Start(const dbus::FileDescriptor& outfd);
private:
DISALLOW_COPY_AND_ASSIGN(StorageTool);
};
} // namespace debugd
#endif // DEBUGD_SRC_STORAGE_TOOL_H_