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

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

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/common/fileapi/file_system_messages.h ('k') | content/common/page_state_serialization.h » ('j') | 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 51c44cb6eadfd520bd157d5cffaf5736e7979eb3..92a98164ca5fd1cab5dd44fedc94bf0ce3fcc7ad 100644
--- a/content/common/fileapi/webblob_messages.h
+++ b/content/common/fileapi/webblob_messages.h
@@ -16,35 +16,40 @@
// Blob messages sent from the renderer to the browser.
-// Registers a blob as being built.
IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuilding,
- GURL /* url */)
-
-// Appends data to a blob being built.
+ std::string /*uuid */)
IPC_MESSAGE_CONTROL2(BlobHostMsg_AppendBlobDataItem,
- GURL /* url */,
+ std::string /* uuid */,
webkit_blob::BlobData::Item)
-
-// Appends data to a blob being built.
IPC_SYNC_MESSAGE_CONTROL3_0(BlobHostMsg_SyncAppendSharedMemory,
- GURL /* url */,
+ std::string /*uuid*/,
base::SharedMemoryHandle,
size_t /* buffer size */)
-
-// Finishes building a blob.
IPC_MESSAGE_CONTROL2(BlobHostMsg_FinishBuilding,
- GURL /* url */,
+ 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_Clone,
- GURL /* url */,
- GURL /* src_url */)
+IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementRefCount,
+ std::string /* uuid */)
+IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementRefCount,
+ std::string /* uuid */)
+IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicURL,
+ GURL,
+ std::string /* uuid */)
+IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL,
+ GURL)
+
+// Temporary support for mapping old style blobUrls to new style uuids.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_DeprecatedRegisterBlobURL,
+ GURL,
+ std::string /* uuid */)
+IPC_MESSAGE_CONTROL2(BlobHostMsg_DeprecatedCloneBlobURL,
+ GURL,
+ GURL)
+IPC_MESSAGE_CONTROL1(BlobHostMsg_DeprecatedRevokeBlobURL,
+ GURL)
+
-// Removes a blob.
-IPC_MESSAGE_CONTROL1(BlobHostMsg_Remove,
- GURL /* url */)
// Stream messages sent from the renderer to the browser.
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/page_state_serialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698