blob: 3119332968045bcb232bfaab5bafe118f22d1624 [file] [log] [blame]
Elly Jonesa44d22d2012-01-05 18:05:56 -05001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Elly Jones00e439d2011-12-19 16:59:10 -05002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Ben Chana0011d82014-05-13 00:19:29 -07005#ifndef TRACEPATH_TOOL_H_
6#define TRACEPATH_TOOL_H_
Elly Jones00e439d2011-12-19 16:59:10 -05007
8#include <map>
9#include <string>
10
11#include <base/basictypes.h>
12#include <dbus-c++/dbus.h>
13
14#include "subprocess_tool.h"
15
16namespace debugd {
17
Elly Jones00e439d2011-12-19 16:59:10 -050018class TracePathTool : public SubprocessTool {
19 public:
20 TracePathTool();
Ben Chana0011d82014-05-13 00:19:29 -070021 virtual ~TracePathTool();
Elly Jones00e439d2011-12-19 16:59:10 -050022
23 std::string Start(const DBus::FileDescriptor& outfd,
24 const std::string& destination,
25 const std::map<std::string, DBus::Variant>& options,
Ben Chana0011d82014-05-13 00:19:29 -070026 DBus::Error* error);
Elly Jones00e439d2011-12-19 16:59:10 -050027};
28
Ben Chana0011d82014-05-13 00:19:29 -070029} // namespace debugd
Elly Jones00e439d2011-12-19 16:59:10 -050030
Ben Chana0011d82014-05-13 00:19:29 -070031#endif // TRACEPATH_TOOL_H_