Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: content/common/fileapi/webblob_messages.h

Issue 15817013: Add Stream support to WebBlobRegistry and FileAPIMessageFilter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/fileapi/webblob_messages.h
diff --git a/content/common/fileapi/webblob_messages.h b/content/common/fileapi/webblob_messages.h
index 4c4823dd443469ee3c07916acd98529254b4760b..42e8000497dd3f4a74731c9afd4262054146c15c 100644
--- a/content/common/fileapi/webblob_messages.h
+++ b/content/common/fileapi/webblob_messages.h
@@ -20,13 +20,18 @@
IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob,
GURL /* url */)
-// Appends data to a blob being built.
-IPC_MESSAGE_CONTROL2(BlobHostMsg_AppendBlobDataItem,
+// Registers a stream as being built.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_StartBuildingStream,
+ GURL /* url */,
+ std::string /* content_type */)
+
+// Appends data to a blob or stream being built.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_AppendBlobDataItemToBlobOrStream,
GURL /* url */,
webkit_blob::BlobData::Item)
-// Appends data to a blob being built.
-IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemory,
+// Appends data to a blob or stream being built.
+IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemoryToBlobOrStream,
GURL /* url */,
base::SharedMemoryHandle,
size_t /* buffer size */)
@@ -36,12 +41,16 @@ IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuildingBlob,
GURL /* url */,
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,
+// Finishes building a stream.
+IPC_MESSAGE_CONTROL1(BlobHostMsg_FinishBuildingStream,
+ GURL /* url */)
+
+// Creates a new blob or stream that's a clone of an existing src blob or
+// stream. The source blob or stream must be fully built.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_CloneBlobOrStream,
GURL /* url */,
GURL /* src_url */)
-// Removes a blob.
-IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob,
+// Removes a blob or stream.
+IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlobOrStream,
GURL /* url */)
« content/child/webblobregistry_impl.cc ('K') | « content/child/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698