webview: move TriggerMinidumpUploading to the right file.
aw_browser_terminator.cc was including the JNI header file for AwBrowserProcess so that it can call TriggerMinidumpUploading, but this prevents any native methods being added to AwBrowserProcess since each JNI header can only be safely included by one source file. Move the JNI header include to aw_browser_process.cc and expose a C++ function for AwBrowserTerminator to call instead of calling the Java method directly. Change-Id: If230bfc3d1fb8c3c1eeb7efa2f01b0b45c4d32a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252282 Commit-Queue: Richard Coles <torne@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Auto-Submit: Richard Coles <torne@chromium.org> Reviewed-by:Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#780010}
Showing
Please register or sign in to comment