Index: content/common/fileapi/webblob_messages.h |
=================================================================== |
--- content/common/fileapi/webblob_messages.h (revision 183651) |
+++ content/common/fileapi/webblob_messages.h (working copy) |
@@ -13,32 +13,25 @@ |
// Blob messages sent from the renderer to the browser. |
-// Registers a blob as being built. |
-IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob, |
- GURL /* url */) |
- |
-// Appends data to a blob being built. |
-IPC_MESSAGE_CONTROL2(BlobHostMsg_AppendBlobDataItem, |
- GURL /* url */, |
+IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob2, |
+ std::string /*uuid */) |
+IPC_MESSAGE_CONTROL2(BlobHostMsg_AppendBlobDataItem2, |
+ std::string /* uuid */, |
webkit_blob::BlobData::Item) |
- |
-// Appends data to a blob being built. |
-IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemory, |
- GURL /* url */, |
+IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_AppendSharedMemory2, |
+ std::string /*uuid*/, |
base::SharedMemoryHandle, |
size_t /* buffer size */) |
- |
-// Finishes building a blob. |
-IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuildingBlob, |
- GURL /* url */, |
+IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuildingBlob2, |
+ std::string /* uuid */, |
std::string /* content_type */) |
-// Creates a new blob that's a clone of an existing src blob. |
-// The source blob must be fully built. |
-IPC_MESSAGE_CONTROL2(BlobHostMsg_CloneBlob, |
- GURL /* url */, |
- GURL /* src_url */) |
- |
-// Removes a blob. |
-IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob, |
- GURL /* url */) |
+IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementBlobRefCount, |
+ std::string /* uuid */) |
+IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementBlobRefCount, |
+ std::string /* uuid */) |
+IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicBlobURL, |
+ GURL, |
+ std::string /* uuid */) |
+IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicBlobURL, |
+ GURL) |