Index: gpu/config/gpu_crash_keys.h |
diff --git a/gpu/config/gpu_crash_keys.h b/gpu/config/gpu_crash_keys.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b7ee75c09c0e3743d2b66b937f65bb2be3cc5b72 |
--- /dev/null |
+++ b/gpu/config/gpu_crash_keys.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2017 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 GPU_CONFIG_GPU_CRASH_KEYS_H_ |
+#define GPU_CONFIG_GPU_CRASH_KEYS_H_ |
+ |
+#include "build/build_config.h" |
+ |
+namespace gpu { |
+namespace crash_keys { |
+ |
+// Keys that can be used for crash reporting. |
+#if !defined(OS_ANDROID) |
+extern const char kGPUVendorID[]; |
+extern const char kGPUDeviceID[]; |
+#endif |
+extern const char kGPUDriverVersion[]; |
+extern const char kGPUPixelShaderVersion[]; |
+extern const char kGPUVertexShaderVersion[]; |
+#if defined(OS_MACOSX) |
+extern const char kGPUGLVersion[]; |
+#elif defined(OS_POSIX) |
+extern const char kGPUVendor[]; |
+extern const char kGPURenderer[]; |
+#endif |
+} // namespace crash_keys |
+} // namespace gpu |
+ |
+#endif // GPU_CONFIG_GPU_CRASH_KEYS_H_ |