[mojo-blobs] Investigate proper type to use for status in BlobReaderClient |
|
Issue descriptionCurrently the BlobReaderClient mojo interface reports status as a net::Error. Maybe it would be cleaner to have a separate blob specific enum instead (or in addition to) the net::Error. The reason this currently uses net::Error is because internally in the blob system that's what is being used, and furthermore I was envisioning future situations where we might want to implement the blob URLLoader on top of the Blob mojo interface, in which case converting net::Error to some other type to then convert it back to net::Error seemed suboptimal.
,
Apr 5 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0b5df969c1c811274ce6331a4d2360a444c46323 commit 0b5df969c1c811274ce6331a4d2360a444c46323 Author: Daniel Murphy <dmurph@chromium.org> Date: Thu Apr 05 04:07:01 2018 [BlobStorage] Fixed reading metrics error value Bug: 756447 , 788681 Change-Id: I6cd4d87384bd55f7168a6c8889c631f2f7d9c015 Reviewed-on: https://chromium-review.googlesource.com/996461 Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#548320} [modify] https://crrev.com/0b5df969c1c811274ce6331a4d2360a444c46323/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp [modify] https://crrev.com/0b5df969c1c811274ce6331a4d2360a444c46323/third_party/WebKit/Source/modules/indexeddb/IDBRequestLoader.cpp |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Apr 2 2018