[Blobs] Fix BuildFromStreamResult histogram recording.
Only record in OnError if callback_ is still set. Otherwise every success case will also result in recording "Aborted", via the destructor of the class calling OnError. Bug: 712693 Change-Id: I0d73119017b6d88fca4378687d5187ed96919b49 Reviewed-on: https://chromium-review.googlesource.com/994232 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#548201}
Showing
Please register or sign in to comment