Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1728)

Unified Diff: content/child/blob_storage/blob_transport_controller.h

Issue 2055053003: [BlobAsync] Disk support for blob storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined BlobSlice & BlobFlattener files, more comments, a little cleanup. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/blob_storage/blob_transport_controller.h
diff --git a/content/child/blob_storage/blob_transport_controller.h b/content/child/blob_storage/blob_transport_controller.h
index a0897e7519c52a6a57b49bd04ba0fea7895ef44a..2f083c11d8d3281f1ba52e08c1a66e6eb648e8ac 100644
--- a/content/child/blob_storage/blob_transport_controller.h
+++ b/content/child/blob_storage/blob_transport_controller.h
@@ -88,10 +88,7 @@ class CONTENT_EXPORT BlobTransportController {
base::TaskRunner* file_runner,
IPC::Sender* sender);
- void OnCancel(const std::string& uuid,
- storage::IPCBlobCreationCancelCode code);
-
- void OnDone(const std::string& uuid);
+ void OnBlobStatus(const std::string& uuid, storage::BlobStatus code);
bool IsTransporting(const std::string& uuid) {
return blob_storage_.find(uuid) != blob_storage_.end();
@@ -128,8 +125,8 @@ class CONTENT_EXPORT BlobTransportController {
void OnFileWriteComplete(
IPC::Sender* sender,
const std::string& uuid,
- const std::pair<std::vector<storage::BlobItemBytesResponse>,
- storage::IPCBlobCreationCancelCode>& result);
+ const std::pair<storage::BlobStatus,
+ std::vector<storage::BlobItemBytesResponse>>& result);
void StoreBlobDataForRequests(
const std::string& uuid,

Powered by Google App Engine
This is Rietveld 408576698