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

Side by Side Diff: chrome/app/breakpad_linux.h

Issue 11969025: Enable breakpad building by default on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/common.gypi ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_APP_BREAKPAD_LINUX_H_ 5 #ifndef CHROME_APP_BREAKPAD_LINUX_H_
6 #define CHROME_APP_BREAKPAD_LINUX_H_ 6 #define CHROME_APP_BREAKPAD_LINUX_H_
7 7
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 extern void InitCrashReporter(); 12 extern void InitCrashReporter();
13 #if defined(OS_ANDROID) 13 #if defined(OS_ANDROID)
14 extern void InitNonBrowserCrashReporterForAndroid(int minidump_fd); 14 extern void InitNonBrowserCrashReporterForAndroid();
15 #endif 15 #endif
16 bool IsCrashReporterEnabled(); 16 bool IsCrashReporterEnabled();
17 17
18 static const size_t kMaxActiveURLSize = 1024; 18 static const size_t kMaxActiveURLSize = 1024;
19 static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex. 19 static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex.
20 static const size_t kDistroSize = 128; 20 static const size_t kDistroSize = 128;
21 #if defined(ADDRESS_SANITIZER) 21 #if defined(ADDRESS_SANITIZER)
22 static const size_t kMaxAsanReportSize = 1 << 16; 22 static const size_t kMaxAsanReportSize = 1 << 16;
23 #endif 23 #endif
24 // Define a preferred limit on minidump sizes, because Crash Server currently 24 // Define a preferred limit on minidump sizes, because Crash Server currently
(...skipping 22 matching lines...) Expand all
47 unsigned distro_length; // Length of |distro|. 47 unsigned distro_length; // Length of |distro|.
48 bool upload; // Whether to upload or save crash dump. 48 bool upload; // Whether to upload or save crash dump.
49 uint64_t process_start_time; // Uptime of the crashing process. 49 uint64_t process_start_time; // Uptime of the crashing process.
50 size_t oom_size; // Amount of memory requested if OOM. 50 size_t oom_size; // Amount of memory requested if OOM.
51 uint64_t pid; // PID where applicable. 51 uint64_t pid; // PID where applicable.
52 }; 52 };
53 53
54 extern void HandleCrashDump(const BreakpadInfo& info); 54 extern void HandleCrashDump(const BreakpadInfo& info);
55 55
56 #endif // CHROME_APP_BREAKPAD_LINUX_H_ 56 #endif // CHROME_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698