blob: cd71ee79531450ab2137dd3acf451d969909817e [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
Ben Chana0011d82014-05-13 00:19:29 -07005#ifndef ROUTE_TOOL_H_
6#define 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
12#include <base/basictypes.h>
13#include <dbus-c++/dbus.h>
14
15namespace debugd {
16
17class RouteTool {
18 public:
19 RouteTool();
20 ~RouteTool();
21
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
Ben Chana0011d82014-05-13 00:19:29 -070031#endif // ROUTE_TOOL_H_