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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwDebug.java

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: android_webview/java/src/org/chromium/android_webview/AwDebug.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwDebug.java b/android_webview/java/src/org/chromium/android_webview/AwDebug.java
index 7de5d284f3490dfcc3d925c13d97ed80c7045465..97217894fc8d67daabc32ae44243d973a3eb4412 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwDebug.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwDebug.java
@@ -42,5 +42,15 @@ public class AwDebug {
return nativeDumpWithoutCrashing(dumpPath);
}
+ public static void initCrashKeysForTesting() {
+ nativeInitCrashKeysForWebViewTesting();
+ }
+
+ public static void setCrashKeyValue(String key, String value) {
+ nativeSetCrashKeyValue(key, value);
+ }
+
private static native boolean nativeDumpWithoutCrashing(String dumpPath);
+ private static native void nativeInitCrashKeysForWebViewTesting();
+ private static native void nativeSetCrashKeyValue(String key, String value);
}

Powered by Google App Engine
This is Rietveld 408576698