blob: 41d268027396d3b3bf024fa26f012ca81ebcb1be [file] [log] [blame] [edit]
// Copyright 2012 The ChromiumOS Authors
// 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/files/scoped_file.h>
#include "debugd/src/subprocess_tool.h"
namespace debugd {
class MemtesterTool : public SubprocessTool {
public:
MemtesterTool() = default;
MemtesterTool(const MemtesterTool&) = delete;
MemtesterTool& operator=(const MemtesterTool&) = delete;
~MemtesterTool() override = default;
std::string Start(const base::ScopedFD& outfd, const uint32_t& memory);
};
} // namespace debugd
#endif // DEBUGD_SRC_MEMORY_TOOL_H_