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

Unified Diff: components/crash/content/app/crash_reporter_client.h

Issue 2717223003: Add WebView-specific whitelist for crash keys. (Closed)
Patch Set: Naming webview whitelist array. 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: components/crash/content/app/crash_reporter_client.h
diff --git a/components/crash/content/app/crash_reporter_client.h b/components/crash/content/app/crash_reporter_client.h
index 513727c08f3f434365e4df6d12ec8bf482104b95..ccc30483da621a847c31da2af5cff454d31c98e6 100644
--- a/components/crash/content/app/crash_reporter_client.h
+++ b/components/crash/content/app/crash_reporter_client.h
@@ -144,6 +144,11 @@ class CrashReporterClient {
// reporting server. Returns the size of the union of all keys.
virtual size_t RegisterCrashKeys();
+ virtual bool UseCrashKeysWhiteList();
+
+ // Returns a NULL-terminated array of crash keys to whitelist.
+ virtual const char* const* GetCrashKeyWhiteList();
+
// Returns true if running in unattended mode (for automated testing).
virtual bool IsRunningUnattended();
« no previous file with comments | « components/crash/content/app/breakpad_linux.cc ('k') | components/crash/content/app/crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698