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

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

Issue 489002: Linux: Implement RecordBreakpadStatusUMA. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | « no previous file | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <stdlib.h> 8 #include <stdlib.h>
9 9
10 extern void InitCrashReporter(); 10 extern void InitCrashReporter();
11 bool IsCrashReporterEnabled();
11 12
12 static const size_t kMaxActiveURLSize = 1024; 13 static const size_t kMaxActiveURLSize = 1024;
13 static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex. 14 static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex.
14 static const size_t kDistroSize = 128; 15 static const size_t kDistroSize = 128;
15 16
16 struct BreakpadInfo { 17 struct BreakpadInfo {
17 const char* filename; 18 const char* filename;
18 const char* process_type; 19 const char* process_type;
19 unsigned process_type_length; 20 unsigned process_type_length;
20 const char* crash_url; 21 const char* crash_url;
21 unsigned crash_url_length; 22 unsigned crash_url_length;
22 const char* guid; 23 const char* guid;
23 unsigned guid_length; 24 unsigned guid_length;
24 const char* distro; 25 const char* distro;
25 unsigned distro_length; 26 unsigned distro_length;
26 const char* plugin_list; 27 const char* plugin_list;
27 unsigned plugin_list_length; 28 unsigned plugin_list_length;
28 bool upload; 29 bool upload;
29 }; 30 };
30 31
31 extern int HandleCrashDump(const BreakpadInfo& info); 32 extern int HandleCrashDump(const BreakpadInfo& info);
32 33
33 #endif // CHROME_APP_BREAKPAD_LINUX_H_ 34 #endif // CHROME_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698