blob: dd43a9f10816fcb15933941d3ebbd5924505e01e [file] [log] [blame]
Elly Jonesa44d22d2012-01-05 18:05:56 -05001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Elly Jones1c4c3a12011-12-20 15:01:59 -05002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Alex Vakulenko262be3f2014-07-30 15:25:50 -07005#ifndef DEBUGD_SRC_ROUTE_TOOL_H_
6#define DEBUGD_SRC_ROUTE_TOOL_H_
Elly Jones1c4c3a12011-12-20 15:01:59 -05007
Ben Chana0011d82014-05-13 00:19:29 -07008#include <map>
Elly Jones1c4c3a12011-12-20 15:01:59 -05009#include <string>
Ben Chana0011d82014-05-13 00:19:29 -070010#include <vector>
Elly Jones1c4c3a12011-12-20 15:01:59 -050011
Ben Chan657bed82014-09-02 20:40:51 -070012#include <base/macros.h>
Elly Jones1c4c3a12011-12-20 15:01:59 -050013#include <dbus-c++/dbus.h>
14
15namespace debugd {
16
17class RouteTool {
18 public:
Ben Chan78f89532014-08-29 09:35:09 -070019 RouteTool() = default;
20 ~RouteTool() = default;
Elly Jones1c4c3a12011-12-20 15:01:59 -050021
Ben Chana0011d82014-05-13 00:19:29 -070022 std::vector<std::string> GetRoutes(
23 const std::map<std::string, DBus::Variant>& options, DBus::Error* error);
24
Elly Jones1c4c3a12011-12-20 15:01:59 -050025 private:
26 DISALLOW_COPY_AND_ASSIGN(RouteTool);
27};
28
Ben Chana0011d82014-05-13 00:19:29 -070029} // namespace debugd
Elly Jones1c4c3a12011-12-20 15:01:59 -050030
Alex Vakulenko262be3f2014-07-30 15:25:50 -070031#endif // DEBUGD_SRC_ROUTE_TOOL_H_