• Torne (Richard Coles)'s avatar
    webview: move TriggerMinidumpUploading to the right file. · 37ca7c98
    Torne (Richard Coles) authored
    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: default avatarNate Fischer <ntfschr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#780010}
    37ca7c98
aw_browser_process.h 4.04 KB