blob: abfefc776c3eea4e3e3e6e92d514f1993639955e (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// Copyright (c) 2013 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_COMMON_CRASH_KEYS_H_
#define CHROME_COMMON_CRASH_KEYS_H_
#include "base/debug/crash_logging.h"
namespace crash_keys {
// Registers all of the potential crash keys that can be sent to the crash
// reporting server. Returns the size of the union of all keys.
size_t RegisterChromeCrashKeys();
// Crash Key Name Constants ////////////////////////////////////////////////////
#if defined(OS_MACOSX)
namespace mac {
// Used to report the first Cocoa/Mac NSException and its backtrace.
extern const char kFirstNSException[];
extern const char kFirstNSExceptionTrace[];
// Used to report the last Cocoa/Mac NSException and its backtrace.
extern const char kLastNSException[];
extern const char kLastNSExceptionTrace[];
// Records the current NSException as it is being created, and its backtrace.
extern const char kNSException[];
extern const char kNSExceptionTrace[];
// In the CrApplication, records information about the current event's
// target-action.
extern const char kSendAction[];
// Records Cocoa zombie/used-after-freed objects that resulted in a
// deliberate crash.
extern const char kZombie[];
extern const char kZombieTrace[];
// For http://crbug.com/254977.
extern const char kZoomBubbleWindowType[];
extern const char kZoomBubbleURL[];
} // namespace mac
#endif
} // namespace crash_keys
#endif // CHROME_COMMON_CRASH_KEYS_H_
|