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

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

Issue 2770953002: Revert of gpu: Add a util method to set crash-keys from a GPUInfo. (Closed)
Patch Set: 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
75 #if defined(OS_WIN) 90 #if defined(OS_WIN)
76 extern const char kHungAudioThreadDetails[]; 91 extern const char kHungAudioThreadDetails[];
77 92
78 // Hung renderer crash reports are only sent on Windows. 93 // Hung renderer crash reports are only sent on Windows.
79 extern const char kHungRendererOutstandingAckCount[]; 94 extern const char kHungRendererOutstandingAckCount[];
80 extern const char kHungRendererOutstandingEventType[]; 95 extern const char kHungRendererOutstandingEventType[];
81 extern const char kHungRendererLastEventType[]; 96 extern const char kHungRendererLastEventType[];
82 extern const char kHungRendererReason[]; 97 extern const char kHungRendererReason[];
83 98
84 // Third-party module crash keys are sent only on Windows. 99 // Third-party module crash keys are sent only on Windows.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Numbers of active views. 154 // Numbers of active views.
140 extern const char kViewCount[]; 155 extern const char kViewCount[];
141 156
142 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame 157 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame
143 // was encountered. http://crbug.com/519022 158 // was encountered. http://crbug.com/519022
144 extern const char kZeroEncodeDetails[]; 159 extern const char kZeroEncodeDetails[];
145 160
146 } // namespace crash_keys 161 } // namespace crash_keys
147 162
148 #endif // CHROME_COMMON_CRASH_KEYS_H_ 163 #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