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

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

Issue 12084077: FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
Index: content/common/fileapi/file_system_messages.h
===================================================================
--- content/common/fileapi/file_system_messages.h (revision 182366)
+++ content/common/fileapi/file_system_messages.h (working copy)
@@ -35,6 +35,10 @@
int /* request_id */,
base::PlatformFileInfo,
base::FilePath /* true platform path, where possible */)
+IPC_MESSAGE_CONTROL3(FileSystemMsg_DidCreateSnapshotFile,
+ int /* request_id */,
+ base::PlatformFileInfo,
+ base::FilePath /* true platform path */)
IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory,
int /* request_id */,
std::vector<base::FileUtilProxy::Entry> /* entries */,
@@ -143,12 +147,23 @@
IPC_MESSAGE_CONTROL1(FileSystemHostMsg_NotifyCloseFile,
GURL /* file path */)
-// WebFileSystem::createSnapshotFileAndReadMetadata() message.
-IPC_MESSAGE_CONTROL3(FileSystemHostMsg_CreateSnapshotFile,
+// DEPRECATED
+IPC_MESSAGE_CONTROL3(FileSystemHostMsg_CreateSnapshotFile_Deprecated,
int /* request_id */,
GURL /* blob_url */,
GURL /* file_path */)
+// WebFileSystem::createSnapshotFileAndReadMetadata() message.
+IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile,
+ int /* request_id */,
+ 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 */,
« no previous file with comments | « content/common/fileapi/file_system_dispatcher.cc ('k') | content/common/fileapi/webfilesystem_callback_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698