| Index: chrome/common/render_messages_internal.h
|
| diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
|
| index 14e1166c3c1da63a7163a1fd008228a65964d714..ceac65f4c06879bc61bdc274ed44d0d797de572e 100644
|
| --- a/chrome/common/render_messages_internal.h
|
| +++ b/chrome/common/render_messages_internal.h
|
| @@ -51,6 +51,10 @@ struct ChannelHandle;
|
| class Message;
|
| }
|
|
|
| +namespace file_util {
|
| +struct FileInfo;
|
| +}
|
| +
|
| //-----------------------------------------------------------------------------
|
| // RenderView messages
|
| // These are messages sent from the browser to the renderer process.
|
| @@ -1010,11 +1014,16 @@ IPC_BEGIN_MESSAGES(View)
|
| string16 /* root_path */)
|
|
|
| // WebFileSystem response messages.
|
| - IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_Succeeded,
|
| + IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed,
|
| int /* request_id */)
|
| - IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_Failed,
|
| + IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata,
|
| + int /* request_id */,
|
| + file_util::FileInfo)
|
| + IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidReadDirectory,
|
| + ViewMsg_FileSystem_DidReadDirectory_Params)
|
| + IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidFail,
|
| int /* request_id */,
|
| - int /* error_code */)
|
| + WebKit::WebFileError /* error_code */)
|
|
|
| IPC_END_MESSAGES(View)
|
|
|
| @@ -2709,4 +2718,38 @@ IPC_BEGIN_MESSAGES(ViewHost)
|
| string16 /* src path */,
|
| string16 /* dest path */)
|
|
|
| + // WebFileSystem::copy() message.
|
| + IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Copy,
|
| + int /* request_id */,
|
| + string16 /* src path */,
|
| + string16 /* dest path */)
|
| +
|
| + // WebFileSystem::remove() message.
|
| + IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_Remove,
|
| + int /* request_id */,
|
| + string16 /* path */)
|
| +
|
| + // WebFileSystem::readMetadata() message.
|
| + IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadMetadata,
|
| + int /* request_id */,
|
| + string16 /* path */)
|
| +
|
| + // WebFileSystem::create() message.
|
| + IPC_MESSAGE_CONTROL4(ViewHostMsg_FileSystem_Create,
|
| + int /* request_id */,
|
| + string16 /* path */,
|
| + bool /* exclusive */,
|
| + bool /* is_directory */)
|
| +
|
| + // WebFileSystem::exists() messages.
|
| + IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Exists,
|
| + int /* request_id */,
|
| + string16 /* path */,
|
| + bool /* is_directory */)
|
| +
|
| + // WebFileSystem::readDirectory() message.
|
| + IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadDirectory,
|
| + int /* request_id */,
|
| + string16 /* path */)
|
| +
|
| IPC_END_MESSAGES(ViewHost)
|
|
|