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

Side by Side Diff: android_webview/common/crash_reporter/crash_keys.h

Issue 2717223003: Add WebView-specific whitelist for crash keys. (Closed)
Patch Set: Remove unnecessary imports/includes. 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
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698