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

Side by Side Diff: chrome/common/crash_keys.h

Issue 2751103008: gpu: Add a util method to set crash-keys from a GPUInfo. (Closed)
Patch Set: comment Created 3 years, 9 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
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/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 (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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698