blob: 3cbc0b26a3c1db8f1bb889664e611cce76640750 [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 STORAGE_TOOL_H
#define STORAGE_TOOL_H
#include <string>
#include <base/basictypes.h>
#include <dbus-c++/dbus.h>
#include "subprocess_tool.h"
namespace debugd {
class StorageTool : public SubprocessTool {
public:
StorageTool();
~StorageTool();
std::string Smartctl(const std::string& option,
DBus::Error& error); // NOLINT
std::string Start(const DBus::FileDescriptor& outfd,
DBus::Error& error);
private:
DISALLOW_COPY_AND_ASSIGN(StorageTool);
};
}; // namespace debugd
#endif // !STORAGE_TOOL_H