aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux/crash_generation/crash_generation_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/linux/crash_generation/crash_generation_client.h')
-rw-r--r--src/client/linux/crash_generation/crash_generation_client.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/client/linux/crash_generation/crash_generation_client.h b/src/client/linux/crash_generation/crash_generation_client.h
index 915b5700..1e4a7a5e 100644
--- a/src/client/linux/crash_generation/crash_generation_client.h
+++ b/src/client/linux/crash_generation/crash_generation_client.h
@@ -29,8 +29,6 @@
#ifndef CLIENT_LINUX_CRASH_GENERATION_CRASH_GENERATION_CLIENT_H_
#define CLIENT_LINUX_CRASH_GENERATION_CRASH_GENERATION_CLIENT_H_
-#include "common/basictypes.h"
-
#include <stddef.h>
namespace google_breakpad {
@@ -41,8 +39,10 @@ namespace google_breakpad {
// via a remote process.
class CrashGenerationClient {
public:
- CrashGenerationClient() {}
- virtual ~CrashGenerationClient() {}
+ CrashGenerationClient() = default;
+ CrashGenerationClient(const CrashGenerationClient&) = delete;
+ void operator=(const CrashGenerationClient&) = delete;
+ virtual ~CrashGenerationClient() = default;
// Request the crash server to generate a dump. |blob| is an opaque
// CrashContext pointer from exception_handler.h.
@@ -54,9 +54,6 @@ class CrashGenerationClient {
// The returned CrashGenerationClient* is owned by the caller of
// this function.
static CrashGenerationClient* TryCreate(int server_fd);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(CrashGenerationClient);
};
} // namespace google_breakpad