blob: 518cf4287ccc11ea7b1f4c72b5c5ef99bace8865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2009 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_
extern void InitCrashReporter();
#if defined(GOOGLE_CHROME_BUILD)
static const unsigned kMaxActiveURLSize = 1024;
static const unsigned kGuidSize = 32; // 128 bits = 32 chars in hex.
static const unsigned kDistroSize = 128;
struct BreakpadInfo {
const char* filename;
const char* process_type;
unsigned process_type_length;
const char* crash_url;
unsigned crash_url_length;
const char* guid;
unsigned guid_length;
const char* distro;
unsigned distro_length;
};
extern int UploadCrashDump(const BreakpadInfo& info);
#endif // defined(GOOGLE_CHROME_BUILD)
#endif // CHROME_APP_BREAKPAD_LINUX_H_
|