Yuly Novikov | 9140428 | 2013-06-26 19:36:58 -0400 | [diff] [blame] | 1 | // Copyright (c) 2013 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 SYSRQ_TOOL_H |
| 6 | #define SYSRQ_TOOL_H |
| 7 | |
| 8 | #include <base/basictypes.h> |
| 9 | #include <dbus-c++/dbus.h> |
| 10 | |
| 11 | namespace debugd { |
| 12 | |
| 13 | class SysrqTool { |
| 14 | public: |
| 15 | SysrqTool(); |
| 16 | ~SysrqTool(); |
| 17 | |
| 18 | void LogKernelTaskStates(DBus::Error& error); // NOLINT |
| 19 | private: |
| 20 | DISALLOW_COPY_AND_ASSIGN(SysrqTool); |
| 21 | }; |
| 22 | |
| 23 | }; // namespace debugd |
| 24 | |
| 25 | #endif // SYSRQ_TOOL_H |