Skip to content
Snippets Groups Projects
Commit fdcfc764 authored by Francois Rousseau's avatar Francois Rousseau Committed by CQ bot account: commit-bot@chromium.org
Browse files

[feedback] switch GetData() to fit::promise

* this allows us to integrate with asynchronous attachment providers (LogListener and Inspect) without having to run a second loop, which seems flaky
* we use a fit::bridge to control when and how to complete: success in Done() and failure in FIDL errors or timeout

DX-465 #comment
FLK-173 #comment

TESTED=`fx run-test feedback_agent_tests`
TESTED=`fx run-test crashpad_agent_tests`
TESTED=`fx crasher`

Change-Id: I762a93d6ff8b9164c5cb1eb332aed7061607d7f0
parent 8079a694
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment