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

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: Rebase, bug fix, unittests Created 7 years, 6 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
« content/browser/streams/stream.h ('K') | « content/child/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6463bddc579771e60e73014b3c3f7b413a06d01e 100644
--- a/content/common/fileapi/webblob_messages.h
+++ b/content/common/fileapi/webblob_messages.h
@@ -20,7 +20,12 @@
IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob,
GURL /* url */)
-// Appends data to a blob being built.
+// 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_AppendBlobDataItem,
GURL /* url */,
webkit_blob::BlobData::Item)
@@ -31,17 +36,17 @@ IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemory,
base::SharedMemoryHandle,
size_t /* buffer size */)
-// Finishes building a blob.
+// Finishes building a blob or stream.
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.
+// 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_CloneBlob,
GURL /* url */,
GURL /* src_url */)
-// Removes a blob.
+// Removes a blob or stream.
IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob,
GURL /* url */)
« content/browser/streams/stream.h ('K') | « content/child/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698