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

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 Created 7 years, 4 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
« no previous file with comments | « 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..9a54c55db02d667d5bde598aa711096efadde6a7 100644
--- a/content/common/fileapi/webblob_messages.h
+++ b/content/common/fileapi/webblob_messages.h
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// IPC messages for HTML5 Blob.
+// IPC messages for HTML5 Blob and Stream.
// Multiply-included message file, hence no include guard.
#include "content/common/content_export.h"
@@ -17,7 +17,7 @@
// Blob messages sent from the renderer to the browser.
// Registers a blob as being built.
-IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob,
+IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuilding,
GURL /* url */)
// Appends data to a blob being built.
@@ -32,16 +32,47 @@ IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemory,
size_t /* buffer size */)
// Finishes building a blob.
-IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuildingBlob,
+IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuilding,
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,
+// Creates a new blob that's a clone of an existing src blob. The source blob
+// must be fully built.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_Clone,
GURL /* url */,
GURL /* src_url */)
// Removes a blob.
-IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob,
+IPC_MESSAGE_CONTROL1(BlobHostMsg_Remove,
+ GURL /* url */)
+
+// Stream messages sent from the renderer to the browser.
+
+// Registers a stream as being built.
+IPC_MESSAGE_CONTROL2(StreamHostMsg_StartBuilding,
+ GURL /* url */,
+ std::string /* content_type */)
+
+// Appends data to a stream being built.
+IPC_MESSAGE_CONTROL2(StreamHostMsg_AppendBlobDataItem,
+ GURL /* url */,
+ webkit_blob::BlobData::Item)
+
+// Appends data to a stream being built.
+IPC_SYNC_MESSAGE_CONTROL3_0(StreamHostMsg_SyncAppendSharedMemory,
+ GURL /* url */,
+ base::SharedMemoryHandle,
+ size_t /* buffer size */)
+
+// Finishes building a stream.
+IPC_MESSAGE_CONTROL1(StreamHostMsg_FinishBuilding,
+ GURL /* url */)
+
+// Creates a new stream that's a clone of an existing src stream.
+IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone,
+ GURL /* url */,
+ GURL /* src_url */)
+
+// Removes a stream.
+IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove,
GURL /* url */)
« no previous file with comments | « content/child/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698