Index: content/child/blob_storage/blob_message_filter.cc |
diff --git a/content/child/blob_storage/blob_message_filter.cc b/content/child/blob_storage/blob_message_filter.cc |
index 0570e17ba0a9dca480dbce1ab0e41d628031863b..368f64e601f74903265b1ff4f5ada919e5b05dad 100644 |
--- a/content/child/blob_storage/blob_message_filter.cc |
+++ b/content/child/blob_storage/blob_message_filter.cc |
@@ -35,8 +35,7 @@ bool BlobMessageFilter::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(BlobMessageFilter, message) |
IPC_MESSAGE_HANDLER(BlobStorageMsg_RequestMemoryItem, OnRequestMemoryItem) |
- IPC_MESSAGE_HANDLER(BlobStorageMsg_CancelBuildingBlob, OnCancelBuildingBlob) |
- IPC_MESSAGE_HANDLER(BlobStorageMsg_DoneBuildingBlob, OnDoneBuildingBlob) |
+ IPC_MESSAGE_HANDLER(BlobStorageMsg_SendBlobStatus, OnBlobFinalStatus) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -58,14 +57,9 @@ void BlobMessageFilter::OnRequestMemoryItem( |
sender_); |
} |
-void BlobMessageFilter::OnCancelBuildingBlob( |
- const std::string& uuid, |
- storage::IPCBlobCreationCancelCode code) { |
- BlobTransportController::GetInstance()->OnCancel(uuid, code); |
-} |
- |
-void BlobMessageFilter::OnDoneBuildingBlob(const std::string& uuid) { |
- BlobTransportController::GetInstance()->OnDone(uuid); |
+void BlobMessageFilter::OnBlobFinalStatus(const std::string& uuid, |
+ storage::BlobStatus code) { |
+ BlobTransportController::GetInstance()->OnBlobFinalStatus(uuid, code); |
} |
} // namespace content |