Gediminas Ramanauskas | 2f0b885 | 2013-03-14 13:52:32 -0700 | [diff] [blame] | 1 | // 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 MEMORY_TOOL_H |
| 6 | #define MEMORY_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 | |
| 15 | namespace debugd { |
| 16 | |
| 17 | class MemtesterTool : public SubprocessTool { |
| 18 | public: |
| 19 | MemtesterTool(); |
| 20 | ~MemtesterTool(); |
| 21 | |
| 22 | std::string Start(const DBus::FileDescriptor& outfd, |
| 23 | const uint32_t& memory, |
| 24 | DBus::Error& error); |
| 25 | }; |
| 26 | |
| 27 | }; // namespace debugd |
| 28 | |
| 29 | #endif // !TRACEPATH_TOOL_H |