Mike Frysinger | c087152 | 2013-09-16 14:07:27 -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 CRASH_SENDER_TOOL_H |
| 6 | #define CRASH_SENDER_TOOL_H |
| 7 | |
| 8 | #include <base/basictypes.h> |
| 9 | #include <dbus-c++/dbus.h> |
| 10 | |
| 11 | #include "subprocess_tool.h" |
| 12 | |
| 13 | namespace debugd { |
| 14 | |
| 15 | class CrashSenderTool : public SubprocessTool { |
| 16 | public: |
| 17 | CrashSenderTool(); |
| 18 | ~CrashSenderTool(); |
| 19 | |
| 20 | void UploadCrashes(DBus::Error& error); // NOLINT |
| 21 | |
| 22 | private: |
| 23 | DISALLOW_COPY_AND_ASSIGN(CrashSenderTool); |
| 24 | }; |
| 25 | |
| 26 | } // namespace debugd |
| 27 | |
| 28 | #endif // CRASH_SENDER_TOOL_H |