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 */, |