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

Unified Diff: chromecast/app/linux/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: Refactored crash dependencies 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/app/linux/cast_crash_reporter_client.h
diff --git a/chromecast/crash/cast_crash_reporter_client.h b/chromecast/app/linux/cast_crash_reporter_client.h
similarity index 72%
rename from chromecast/crash/cast_crash_reporter_client.h
rename to chromecast/app/linux/cast_crash_reporter_client.h
index a0916a041ea6c2016bea07f35e5c305b50e98de9..07712af233db2d290d13f57914611f53e6069c9b 100644
--- a/chromecast/crash/cast_crash_reporter_client.h
+++ b/chromecast/app/linux/cast_crash_reporter_client.h
@@ -2,8 +2,8 @@
// 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_
+#ifndef CHROMECAST_APP_LINUX_CAST_CRASH_REPORTER_CLIENT_H_
+#define CHROMECAST_APP_LINUX_CAST_CRASH_REPORTER_CLIENT_H_
#include <string>
@@ -20,12 +20,11 @@ class CastCrashReporterClient : public crash_reporter::CrashReporterClient {
~CastCrashReporterClient() override;
// crash_reporter::CrashReporterClient implementation:
- bool EnableBreakpadForProcess(
- const std::string& process_type) override;
+ bool EnableBreakpadForProcess(const std::string& process_type) override;
bool HandleCrashDump(const char* crashdump_filename) override;
private:
- static char* GetProcessType();
+ static const char* GetProcessType();
static uint64_t GetProcessStartTime();
DISALLOW_COPY_AND_ASSIGN(CastCrashReporterClient);
@@ -33,4 +32,4 @@ class CastCrashReporterClient : public crash_reporter::CrashReporterClient {
} // namespace chromecast
-#endif // CHROMECAST_CRASH_CAST_CRASH_REPORTER_CLIENT_H_
+#endif // CHROMECAST_APP_LINUX_CAST_CRASH_REPORTER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698