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 66ec62de411a4e86a7029952b63d0f0ba34ca850..74763aedecf1e64e674853d0fb84775ed6aec140 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, OnBlobStatus) |
michaeln
2016/08/15 22:44:43
maybe call this OnBlobFinalStatus here and through
dmurph
2016/08/19 00:18:32
Done.
|
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::OnBlobStatus(const std::string& uuid, |
+ storage::BlobStatus code) { |
+ BlobTransportController::GetInstance()->OnBlobStatus(uuid, code); |
} |
} // namespace content |