blob: 82b3c1d6ba4ba2e04a2f3c0fe2e687335fd315f7 [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_PING_TOOL_H_
#define DEBUGD_SRC_PING_TOOL_H_
#include <map>
#include <string>
#include <base/macros.h>
#include <brillo/errors/error.h>
#include <brillo/variant_dictionary.h>
#include "debugd/src/subprocess_tool.h"
namespace debugd {
class PingTool : public SubprocessTool {
public:
PingTool() = default;
~PingTool() override = default;
bool Start(const dbus::FileDescriptor& outfd,
const std::string& destination,
const brillo::VariantDictionary& options,
std::string* out_id,
brillo::ErrorPtr* error);
private:
DISALLOW_COPY_AND_ASSIGN(PingTool);
};
} // namespace debugd
#endif // DEBUGD_SRC_PING_TOOL_H_