diff options
author | carlosvaldivia@google.com <carlosvaldivia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-10 22:52:44 +0000 |
---|---|---|
committer | carlosvaldivia@google.com <carlosvaldivia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-10 22:52:44 +0000 |
commit | 6653c19c044e724ad9a93248611abd2135d16a1a (patch) | |
tree | 1e036d686937704495302c125d7f3f200a521470 /chrome/app/breakpad_linux.h | |
parent | b168ddfb28b4d83213dcfd5974ba64d2dc964030 (diff) | |
download | chromium_src-6653c19c044e724ad9a93248611abd2135d16a1a.zip chromium_src-6653c19c044e724ad9a93248611abd2135d16a1a.tar.gz chromium_src-6653c19c044e724ad9a93248611abd2135d16a1a.tar.bz2 |
Upstream crash changes for android.
Third time is a charm.
Original Reviews:
https://chromiumcodereview.appspot.com/9838033/
http://codereview.chromium.org/9967017
Revert "Revert 131593"
This reverts commit e306ea7f630d4264075913ea3a1a728d98ca9605.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9960072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.h')
-rw-r--r-- | chrome/app/breakpad_linux.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h deleted file mode 100644 index 7c20514..0000000 --- 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_ |