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

Unified Diff: android_webview/common/crash_reporter/crash_keys.h

Issue 2717223003: Add WebView-specific whitelist for crash keys. (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/common/crash_reporter/crash_keys.h
diff --git a/android_webview/common/crash_reporter/crash_keys.h b/android_webview/common/crash_reporter/crash_keys.h
index 03b2e2a4051688ae4c7529673c56e6612fadc02d..67b18d0f735819ffda63621445beb5f8d864a94f 100644
--- a/android_webview/common/crash_reporter/crash_keys.h
+++ b/android_webview/common/crash_reporter/crash_keys.h
@@ -7,12 +7,15 @@
#include <stddef.h>
+#include "base/debug/crash_logging.h"
+
namespace android_webview {
namespace crash_keys {
// Registers all of the potential crash keys that can be sent to the crash
// reporting server. Returns the size of the union of all keys.
size_t RegisterWebViewCrashKeys();
+std::vector<base::debug::CrashKey> GetWhiteListedWebViewCrashKeys();
// Crash Key Name Constants ////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698