OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // IPC messages for the file system. | 5 // IPC messages for the file system. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/file_util_proxy.h" | 8 #include "base/file_util_proxy.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "webkit/fileapi/file_system_types.h" | 10 #include "webkit/fileapi/file_system_types.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 // WebFrameClient::openFileSystem response messages. | 23 // WebFrameClient::openFileSystem response messages. |
24 IPC_MESSAGE_CONTROL4(FileSystemMsg_OpenComplete, | 24 IPC_MESSAGE_CONTROL4(FileSystemMsg_OpenComplete, |
25 int /* request_id */, | 25 int /* request_id */, |
26 bool /* accepted */, | 26 bool /* accepted */, |
27 std::string /* name */, | 27 std::string /* name */, |
28 FilePath /* root_path */) | 28 FilePath /* root_path */) |
29 | 29 |
30 // WebFileSystem response messages. | 30 // WebFileSystem response messages. |
31 IPC_MESSAGE_CONTROL1(FileSystemMsg_DidSucceed, | 31 IPC_MESSAGE_CONTROL1(FileSystemMsg_DidSucceed, |
32 int /* request_id */) | 32 int /* request_id */) |
33 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidReadMetadata, | 33 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadMetadata, |
34 int /* request_id */, | 34 int /* request_id */, |
35 base::PlatformFileInfo) | 35 base::PlatformFileInfo, |
| 36 FilePath /* true platform path, where possible */) |
36 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory, | 37 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidReadDirectory, |
37 int /* request_id */, | 38 int /* request_id */, |
38 std::vector<base::FileUtilProxy::Entry> /* entries */, | 39 std::vector<base::FileUtilProxy::Entry> /* entries */, |
39 bool /* has_more */) | 40 bool /* has_more */) |
40 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidWrite, | 41 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidWrite, |
41 int /* request_id */, | 42 int /* request_id */, |
42 int64 /* byte count */, | 43 int64 /* byte count */, |
43 bool /* complete */) | 44 bool /* complete */) |
44 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidFail, | 45 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidFail, |
45 int /* request_id */, | 46 int /* request_id */, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, | 115 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, |
115 int /* request_id */, | 116 int /* request_id */, |
116 FilePath /* path */, | 117 FilePath /* path */, |
117 base::Time /* last_access_time */, | 118 base::Time /* last_access_time */, |
118 base::Time /* last_modified_time */) | 119 base::Time /* last_modified_time */) |
119 | 120 |
120 // WebFileWriter::cancel() message. | 121 // WebFileWriter::cancel() message. |
121 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, | 122 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, |
122 int /* request id */, | 123 int /* request id */, |
123 int /* id of request to cancel */) | 124 int /* id of request to cancel */) |
OLD | NEW |