Elly Jones | a44d22d | 2012-01-05 18:05:56 -0500 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 5 | #ifndef TRACEPATH_TOOL_H_ |
| 6 | #define TRACEPATH_TOOL_H_ |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 7 | |
| 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 | |
| 16 | namespace debugd { |
| 17 | |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 18 | class TracePathTool : public SubprocessTool { |
| 19 | public: |
| 20 | TracePathTool(); |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 21 | virtual ~TracePathTool(); |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 22 | |
| 23 | std::string Start(const DBus::FileDescriptor& outfd, |
| 24 | const std::string& destination, |
| 25 | const std::map<std::string, DBus::Variant>& options, |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 26 | DBus::Error* error); |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 27 | }; |
| 28 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 29 | } // namespace debugd |
Elly Jones | 00e439d | 2011-12-19 16:59:10 -0500 | [diff] [blame] | 30 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 31 | #endif // TRACEPATH_TOOL_H_ |