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

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

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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/file_system_messages.h
===================================================================
--- content/common/fileapi/file_system_messages.h (revision 171309)
+++ content/common/fileapi/file_system_messages.h (working copy)
@@ -35,6 +35,10 @@
int /* request_id */,
base::PlatformFileInfo,
FilePath /* true platform path, where possible */)
+IPC_MESSAGE_CONTROL3(FileSystemMsg_DidCreateSnapshotFile,
+ int /* request_id */,
+ base::PlatformFileInfo,
+ FilePath /* true platform path */)
IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory,
int /* request_id */,
std::vector<base::FileUtilProxy::Entry> /* entries */,
@@ -112,7 +116,7 @@
IPC_MESSAGE_CONTROL4(FileSystemHostMsg_Write,
int /* request id */,
GURL /* file path */,
- GURL /* blob URL */,
+ std::string /* blob UUID */,
int64 /* position */)
// WebFileWriter::truncate() message.
@@ -144,11 +148,16 @@
GURL /* file path */)
// WebFileSystem::createSnapshotFileAndReadMetadata() message.
-IPC_MESSAGE_CONTROL3(FileSystemHostMsg_CreateSnapshotFile,
+IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile,
int /* request_id */,
- GURL /* blob_url */,
GURL /* file_path */)
+// Renderers are expected to send this message after having processed
+// the FileSystemMsg_DidCreateSnapshotFile message. In particular,
+// after having created a BlobDataHandle backed by the snapshot file.
+IPC_MESSAGE_CONTROL1(FileSystemHostMsg_DidReceiveSnapshotFile,
+ int /* request_id */)
+
// For Pepper's URL loader.
IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath,
GURL /* file path */,

Powered by Google App Engine
This is Rietveld 408576698