OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ | 5 #ifndef ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ |
6 #define ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ | 6 #define ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 namespace android_webview { | 10 namespace android_webview { |
11 namespace crash_keys { | 11 namespace crash_keys { |
12 | 12 |
13 // Registers all of the potential crash keys that can be sent to the crash | 13 // Registers all of the potential crash keys that can be sent to the crash |
14 // reporting server. Returns the size of the union of all keys. | 14 // reporting server. Returns the size of the union of all keys. |
15 size_t RegisterWebViewCrashKeys(); | 15 size_t RegisterWebViewCrashKeys(); |
| 16 const char** GetWhiteListedWebViewCrashKeys(); |
16 | 17 |
17 // Crash Key Name Constants //////////////////////////////////////////////////// | 18 // Crash Key Name Constants //////////////////////////////////////////////////// |
18 | 19 |
19 // GPU information. | 20 // GPU information. |
20 extern const char kGPUDriverVersion[]; | 21 extern const char kGPUDriverVersion[]; |
21 extern const char kGPUPixelShaderVersion[]; | 22 extern const char kGPUPixelShaderVersion[]; |
22 extern const char kGPUVertexShaderVersion[]; | 23 extern const char kGPUVertexShaderVersion[]; |
23 extern const char kGPUVendor[]; | 24 extern const char kGPUVendor[]; |
24 extern const char kGPURenderer[]; | 25 extern const char kGPURenderer[]; |
25 | 26 |
26 | 27 |
27 } // namespace crash_keys | 28 } // namespace crash_keys |
28 } // namespace android_webview | 29 } // namespace android_webview |
29 | 30 |
30 #endif // ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ | 31 #endif // ANDROID_WEBVIEW_COMMON_CRASH_KEYS_H_ |
OLD | NEW |