| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_COMMON_CRASH_KEYS_H_ | 5 #ifndef CHROME_COMMON_CRASH_KEYS_H_ |
| 6 #define CHROME_COMMON_CRASH_KEYS_H_ | 6 #define CHROME_COMMON_CRASH_KEYS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, | 66 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, |
| 67 // "exit" for BROWSER_EXIT, or "end" for END_SESSION. | 67 // "exit" for BROWSER_EXIT, or "end" for END_SESSION. |
| 68 extern const char kShutdownType[]; | 68 extern const char kShutdownType[]; |
| 69 | 69 |
| 70 // Stack trace associated to the browser being unpinned and starting the | 70 // Stack trace associated to the browser being unpinned and starting the |
| 71 // shutdown sequence. The value is set when we trigger a browser crash due to an | 71 // shutdown sequence. The value is set when we trigger a browser crash due to an |
| 72 // invalid attempt to Pin the browser process after that. | 72 // invalid attempt to Pin the browser process after that. |
| 73 extern const char kBrowserUnpinTrace[]; | 73 extern const char kBrowserUnpinTrace[]; |
| 74 | 74 |
| 75 // GPU information. | |
| 76 #if !defined(OS_ANDROID) | |
| 77 extern const char kGPUVendorID[]; | |
| 78 extern const char kGPUDeviceID[]; | |
| 79 #endif | |
| 80 extern const char kGPUDriverVersion[]; | |
| 81 extern const char kGPUPixelShaderVersion[]; | |
| 82 extern const char kGPUVertexShaderVersion[]; | |
| 83 #if defined(OS_MACOSX) | |
| 84 extern const char kGPUGLVersion[]; | |
| 85 #elif defined(OS_POSIX) | |
| 86 extern const char kGPUVendor[]; | |
| 87 extern const char kGPURenderer[]; | |
| 88 #endif | |
| 89 | |
| 90 #if defined(OS_WIN) | 75 #if defined(OS_WIN) |
| 91 extern const char kHungAudioThreadDetails[]; | 76 extern const char kHungAudioThreadDetails[]; |
| 92 | 77 |
| 93 // Hung renderer crash reports are only sent on Windows. | 78 // Hung renderer crash reports are only sent on Windows. |
| 94 extern const char kHungRendererOutstandingAckCount[]; | 79 extern const char kHungRendererOutstandingAckCount[]; |
| 95 extern const char kHungRendererOutstandingEventType[]; | 80 extern const char kHungRendererOutstandingEventType[]; |
| 96 extern const char kHungRendererLastEventType[]; | 81 extern const char kHungRendererLastEventType[]; |
| 97 extern const char kHungRendererReason[]; | 82 extern const char kHungRendererReason[]; |
| 98 | 83 |
| 99 // Third-party module crash keys are sent only on Windows. | 84 // Third-party module crash keys are sent only on Windows. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Numbers of active views. | 139 // Numbers of active views. |
| 155 extern const char kViewCount[]; | 140 extern const char kViewCount[]; |
| 156 | 141 |
| 157 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame | 142 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame |
| 158 // was encountered. http://crbug.com/519022 | 143 // was encountered. http://crbug.com/519022 |
| 159 extern const char kZeroEncodeDetails[]; | 144 extern const char kZeroEncodeDetails[]; |
| 160 | 145 |
| 161 } // namespace crash_keys | 146 } // namespace crash_keys |
| 162 | 147 |
| 163 #endif // CHROME_COMMON_CRASH_KEYS_H_ | 148 #endif // CHROME_COMMON_CRASH_KEYS_H_ |
| OLD | NEW |