| 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..0071d7b462b5cd20279334cc4146dbc0df279a28 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"
|
| @@ -88,10 +89,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();
|
| @@ -128,8 +126,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,
|
|
|