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

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

Issue 2717223003: Add WebView-specific whitelist for crash keys. (Closed)
Patch Set: Use non-allocating whitelist implementation. Add instrumentation tests. 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.cc
diff --git a/components/crash/content/app/crash_reporter_client.cc b/components/crash/content/app/crash_reporter_client.cc
index fd8834878917f670076d843569e45bed4446ad44..8087a083df6449787842f7d3dd01833ce85ae947 100644
--- a/components/crash/content/app/crash_reporter_client.cc
+++ b/components/crash/content/app/crash_reporter_client.cc
@@ -122,6 +122,14 @@ size_t CrashReporterClient::RegisterCrashKeys() {
return 0;
}
+bool CrashReporterClient::UseCrashKeysWhiteList() {
+ return false;
+}
+
+std::vector<const char*> CrashReporterClient::GetWhiteListedCrashKeys() {
+ return {};
+}
+
bool CrashReporterClient::IsRunningUnattended() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698