Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: chromecast/crash/cast_crash_reporter_client.h

Issue 1154383006: Adding crash utilities to chromecast/crash. (Closed) Base URL: https://eureka-internal.googlesource.com/chromium/src@master
Patch Set: Linux-specific utils moved to linux/ Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/crash/cast_crash_reporter_client.h
diff --git a/chromecast/crash/cast_crash_reporter_client.h b/chromecast/crash/cast_crash_reporter_client.h
deleted file mode 100644
index a0916a041ea6c2016bea07f35e5c305b50e98de9..0000000000000000000000000000000000000000
--- a/chromecast/crash/cast_crash_reporter_client.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMECAST_CRASH_CAST_CRASH_REPORTER_CLIENT_H_
-#define CHROMECAST_CRASH_CAST_CRASH_REPORTER_CLIENT_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "components/crash/app/crash_reporter_client.h"
-
-namespace chromecast {
-
-class CastCrashReporterClient : public crash_reporter::CrashReporterClient {
- public:
- static void InitCrashReporter(const std::string& process_type);
-
- CastCrashReporterClient();
- ~CastCrashReporterClient() override;
-
- // crash_reporter::CrashReporterClient implementation:
- bool EnableBreakpadForProcess(
- const std::string& process_type) override;
- bool HandleCrashDump(const char* crashdump_filename) override;
-
- private:
- static char* GetProcessType();
- static uint64_t GetProcessStartTime();
-
- DISALLOW_COPY_AND_ASSIGN(CastCrashReporterClient);
-};
-
-} // namespace chromecast
-
-#endif // CHROMECAST_CRASH_CAST_CRASH_REPORTER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698