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

Side by Side Diff: components/crash/core/common/crash_keys.h

Issue 2377963002: restore LOG_FATAL crash key on windows
Patch Set: move CrashMessageHandler out of base Created 4 years, 1 month 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
« no previous file with comments | « components/crash/content/app/crashpad.cc ('k') | components/crash/core/common/crash_keys.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_ 5 #ifndef COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_
6 #define COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_ 6 #define COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // The product release/distribution channel. 85 // The product release/distribution channel.
86 extern const char kChannel[]; 86 extern const char kChannel[];
87 87
88 // The total number of experiments the instance has. 88 // The total number of experiments the instance has.
89 extern const char kNumVariations[]; 89 extern const char kNumVariations[];
90 90
91 // The experiments chunk. Hashed experiment names separated by |,|. This is 91 // The experiments chunk. Hashed experiment names separated by |,|. This is
92 // typically set by SetExperimentList. 92 // typically set by SetExperimentList.
93 extern const char kVariations[]; 93 extern const char kVariations[];
94 94
95 // The last fatal log message.
96 extern const char kLogFatal[];
97
95 // The maximum number of command line switches to process. |kSwitchFormat| 98 // The maximum number of command line switches to process. |kSwitchFormat|
96 // should be formatted with an integer in the range [1, kSwitchesMaxCount]. 99 // should be formatted with an integer in the range [1, kSwitchesMaxCount].
97 const size_t kSwitchesMaxCount = 15; 100 const size_t kSwitchesMaxCount = 15;
98 101
99 // A printf-style format string naming the set of crash keys corresponding to 102 // A printf-style format string naming the set of crash keys corresponding to
100 // at most |kSwitchesMaxCount| command line switches. 103 // at most |kSwitchesMaxCount| command line switches.
101 extern const char kSwitchFormat[]; 104 extern const char kSwitchFormat[];
102 105
103 // The total number of switches, used to report the total in case more than 106 // The total number of switches, used to report the total in case more than
104 // |kSwitchesMaxCount| are present. 107 // |kSwitchesMaxCount| are present.
105 extern const char kNumSwitches[]; 108 extern const char kNumSwitches[];
106 109
107 // Used to help investigate bug 464926. 110 // Used to help investigate bug 464926.
108 extern const char kBug464926CrashKey[]; 111 extern const char kBug464926CrashKey[];
109 112
110 #if defined(OS_MACOSX) 113 #if defined(OS_MACOSX)
111 namespace mac { 114 namespace mac {
112 115
113 // Records Cocoa zombie/used-after-freed objects that resulted in a 116 // Records Cocoa zombie/used-after-freed objects that resulted in a
114 // deliberate crash. 117 // deliberate crash.
115 extern const char kZombie[]; 118 extern const char kZombie[];
116 extern const char kZombieTrace[]; 119 extern const char kZombieTrace[];
117 120
118 } // namespace mac 121 } // namespace mac
119 #endif 122 #endif
120 123
121 } // namespace crash_keys 124 } // namespace crash_keys
122 125
123 #endif // COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_ 126 #endif // COMPONENTS_CRASH_CORE_COMMON_CRASH_KEYS_H_
OLDNEW
« no previous file with comments | « components/crash/content/app/crashpad.cc ('k') | components/crash/core/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698