| 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 4f06418bd7d273056297868a04a5ae893318697e..a3065ec4bca02f0b7ae4c574b79f30e4d4703683 100644
|
| --- a/content/child/blob_storage/blob_transport_controller.h
|
| +++ b/content/child/blob_storage/blob_transport_controller.h
|
| @@ -19,6 +19,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/shared_memory_handle.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/optional.h"
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_platform_file.h"
|
| #include "storage/common/blob_storage/blob_storage_constants.h"
|
| @@ -87,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 OnBlobFinalStatus(const std::string& uuid, storage::BlobStatus code);
|
|
|
| bool IsTransporting(const std::string& uuid) {
|
| return blob_storage_.find(uuid) != blob_storage_.end();
|
| @@ -127,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 base::Optional<std::vector<storage::BlobItemBytesResponse>>&
|
| + result);
|
|
|
| void StoreBlobDataForRequests(
|
| const std::string& uuid,
|
|
|