blob: 3cbc0b26a3c1db8f1bb889664e611cce76640750 [file] [log] [blame]
Gediminas Ramanauskas2f0b8852013-03-14 13:52:32 -07001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef STORAGE_TOOL_H
6#define STORAGE_TOOL_H
7
8#include <string>
9
10#include <base/basictypes.h>
11#include <dbus-c++/dbus.h>
12
13#include "subprocess_tool.h"
14
15namespace debugd {
16
17class StorageTool : public SubprocessTool {
18 public:
19 StorageTool();
20 ~StorageTool();
21
22 std::string Smartctl(const std::string& option,
23 DBus::Error& error); // NOLINT
24 std::string Start(const DBus::FileDescriptor& outfd,
25 DBus::Error& error);
26 private:
27 DISALLOW_COPY_AND_ASSIGN(StorageTool);
28};
29
30}; // namespace debugd
31
32#endif // !STORAGE_TOOL_H