blob: 9a87b225a5b04790b74400953c81a4c7ef1c37b8 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEBUGD_SRC_MEMORY_TOOL_H_
#define DEBUGD_SRC_MEMORY_TOOL_H_
#include <string>
#include <base/macros.h>
#include <dbus-c++/dbus.h>
#include "debugd/src/subprocess_tool.h"
namespace debugd {
class MemtesterTool : public SubprocessTool {
public:
MemtesterTool() = default;
~MemtesterTool() override = default;
std::string Start(const DBus::FileDescriptor& outfd,
const uint32_t& memory,
DBus::Error* error);
private:
DISALLOW_COPY_AND_ASSIGN(MemtesterTool);
};
} // namespace debugd
#endif // DEBUGD_SRC_MEMORY_TOOL_H_