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

Unified Diff: android_webview/native/aw_browser_process_impl.cc

Issue 2833893002: [Android WebView] Trigger minidump uploading on renderer crash. (Closed)
Patch Set: Created 3 years, 8 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/native/aw_browser_process_impl.cc
diff --git a/android_webview/native/aw_browser_process_impl.cc b/android_webview/native/aw_browser_process_impl.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f9458246858807fd7deb90ba19bd7584dbbb5916
--- /dev/null
+++ b/android_webview/native/aw_browser_process_impl.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "android_webview/browser/aw_browser_process.h"
+#include "jni/AwBrowserProcess_jni.h"
+
+namespace android_webview {
+
+void TriggerMinidumpUploading() {
+ JNIEnv* env = base::android::AttachCurrentThread();
+ Java_AwBrowserProcess_triggerMinidumpUploading(env);
+}
+
+} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698