blob: a73e78258a2de15c5445977f0a52c0da4a10333a [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
Ben Chana0011d82014-05-13 00:19:29 -07005#ifndef MEMORY_TOOL_H_
6#define MEMORY_TOOL_H_
Gediminas Ramanauskas2f0b8852013-03-14 13:52:32 -07007
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 MemtesterTool : public SubprocessTool {
18 public:
19 MemtesterTool();
Ben Chana0011d82014-05-13 00:19:29 -070020 virtual ~MemtesterTool();
Gediminas Ramanauskas2f0b8852013-03-14 13:52:32 -070021
22 std::string Start(const DBus::FileDescriptor& outfd,
23 const uint32_t& memory,
Ben Chana0011d82014-05-13 00:19:29 -070024 DBus::Error* error);
Gediminas Ramanauskas2f0b8852013-03-14 13:52:32 -070025};
26
Ben Chana0011d82014-05-13 00:19:29 -070027} // namespace debugd
Gediminas Ramanauskas2f0b8852013-03-14 13:52:32 -070028
Ben Chana0011d82014-05-13 00:19:29 -070029#endif // MEMORY_TOOL_H_