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

Unified Diff: chrome/app/breakpad_linux.h

Issue 9838033: Upstream native crash handling changes for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Revert of Revert with fixes. Created 8 years, 8 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
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_linux.h
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h
deleted file mode 100644
index 7c205146d3ad68dac2cd161c6055a6ffbd976a26..0000000000000000000000000000000000000000
--- a/chrome/app/breakpad_linux.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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 CHROME_APP_BREAKPAD_LINUX_H_
-#define CHROME_APP_BREAKPAD_LINUX_H_
-#pragma once
-
-#include "base/basictypes.h"
-
-extern void InitCrashReporter();
-bool IsCrashReporterEnabled();
-
-static const size_t kMaxActiveURLSize = 1024;
-static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex.
-static const size_t kDistroSize = 128;
-
-struct BreakpadInfo {
- const char* filename; // Path to the Breakpad dump data.
- const char* process_type; // Process type, e.g. "renderer".
- unsigned process_type_length; // Length of |process_type|.
- const char* crash_url; // Active URL in the crashing process.
- unsigned crash_url_length; // Length of |crash_url|.
- const char* guid; // Client ID.
- unsigned guid_length; // Length of |guid|.
- const char* distro; // Linux distro string.
- unsigned distro_length; // Length of |distro|.
- bool upload; // Whether to upload or save crash dump.
- uint64_t process_start_time; // Uptime of the crashing process.
- size_t oom_size; // Amount of memory requested if OOM.
-};
-
-extern void HandleCrashDump(const BreakpadInfo& info);
-
-#endif // CHROME_APP_BREAKPAD_LINUX_H_
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698