blob: 8ad784bc2853735ff243ce705ae8a2b84ef13782 [file] [log] [blame]
Elly Jones15fc20f2012-02-09 14:29:06 -05001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef DEBUG_MODE_TOOL_H
6#define DEBUG_MODE_TOOL_H
7
8#include <string>
9
10#include <base/basictypes.h>
11#include <dbus-c++/dbus.h>
12
13namespace debugd {
14
15class DebugModeTool {
16 public:
17 explicit DebugModeTool(DBus::Connection* connection);
18 virtual ~DebugModeTool();
19
20 virtual void SetDebugMode(const std::string& subsystem, DBus::Error* error);
21 private:
22 DBus::Connection* connection_;
23 DISALLOW_COPY_AND_ASSIGN(DebugModeTool);
24};
25
26}; // namespace debugd
27
28#endif // DEBUG_MODE_TOOL_H