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

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

Issue 155653: Include output of "lsb_release -d" in crash reports.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « base/linux_util.cc ('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) 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 extern void InitCrashReporter(); 8 extern void InitCrashReporter();
9 9
10 #if defined(GOOGLE_CHROME_BUILD) 10 #if defined(GOOGLE_CHROME_BUILD)
11 static const unsigned kMaxActiveURLSize = 1024; 11 static const unsigned kMaxActiveURLSize = 1024;
12 static const unsigned kGuidSize = 32; // 128 bits = 32 chars in hex. 12 static const unsigned kGuidSize = 32; // 128 bits = 32 chars in hex.
13 static const unsigned kDistroSize = 128;
13 14
14 extern int UploadCrashDump(const char* filename, 15 struct BreakpadInfo {
15 const char* process_type, 16 const char* filename;
16 unsigned process_type_length, 17 const char* process_type;
17 const char* crash_url, 18 unsigned process_type_length;
18 unsigned crash_url_length, 19 const char* crash_url;
19 const char* guid, 20 unsigned crash_url_length;
20 unsigned guid_length); 21 const char* guid;
22 unsigned guid_length;
23 const char* distro;
24 unsigned distro_length;
25 };
26
27 extern int UploadCrashDump(const BreakpadInfo& info);
21 #endif // defined(GOOGLE_CHROME_BUILD) 28 #endif // defined(GOOGLE_CHROME_BUILD)
22 29
23 #endif // CHROME_APP_BREAKPAD_LINUX_H_ 30 #endif // CHROME_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « base/linux_util.cc ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698