blob: 747f71bc2140f111700203fc060c89e620c0521c [file] [log] [blame]
Mike Frysingerc0871522013-09-16 14:07:27 -04001// 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
Ben Chana0011d82014-05-13 00:19:29 -07005#ifndef CRASH_SENDER_TOOL_H_
6#define CRASH_SENDER_TOOL_H_
Mike Frysingerc0871522013-09-16 14:07:27 -04007
8#include <base/basictypes.h>
9#include <dbus-c++/dbus.h>
10
11#include "subprocess_tool.h"
12
13namespace debugd {
14
15class CrashSenderTool : public SubprocessTool {
16 public:
17 CrashSenderTool();
Ben Chana0011d82014-05-13 00:19:29 -070018 virtual ~CrashSenderTool();
Mike Frysingerc0871522013-09-16 14:07:27 -040019
Ben Chana0011d82014-05-13 00:19:29 -070020 void UploadCrashes(DBus::Error* error);
Mike Frysingerc0871522013-09-16 14:07:27 -040021
22 private:
23 DISALLOW_COPY_AND_ASSIGN(CrashSenderTool);
24};
25
26} // namespace debugd
27
Ben Chana0011d82014-05-13 00:19:29 -070028#endif // CRASH_SENDER_TOOL_H_