mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
ca3cf2f4e3
Breakpad offers a callback when uploads complete: https://source.chromium.org/chromium/chromium/src/+/main:third_party/breakpad/breakpad/src/client/ios/BreakpadController.h;l=103;drc=1fc9cc0d0e1dfafb8d29dba8d01f09587d870026 This adds an equivalent observation callback to Crashpad on iOS which is invoked each time an upload attempt completes (whether it succeeds or fails). I couldn't find any existing unit tests for the upload thread, but I tested this manually by integrating it into a client. Please let me know the best way to test this. Change-Id: I17822af5e63c8634484606a6470ce83b2c385676 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3852399 Reviewed-by: Justin Cohen <justincohen@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org>