OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 #include "ipc/ipc_platform_file.h" | 9 #include "ipc/ipc_platform_file.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 IPC_ENUM_TRAITS(quota::QuotaLimitType) | 25 IPC_ENUM_TRAITS(quota::QuotaLimitType) |
26 | 26 |
27 // File system messages sent from the browser to the child process. | 27 // File system messages sent from the browser to the child process. |
28 | 28 |
29 // WebFrameClient::openFileSystem response messages. | 29 // WebFrameClient::openFileSystem response messages. |
30 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidOpenFileSystem, | 30 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidOpenFileSystem, |
31 int /* request_id */, | 31 int /* request_id */, |
32 std::string /* name */, | 32 std::string /* name */, |
33 GURL /* root_url */) | 33 GURL /* root_url */) |
34 | 34 |
| 35 // WebFrameClient::resolveURL response messages. |
| 36 IPC_MESSAGE_CONTROL5(FileSystemMsg_DidResolveURL, |
| 37 int /* request_id */, |
| 38 std::string /* name */, |
| 39 GURL /* root_url */, |
| 40 base::FilePath /* file_path */, |
| 41 bool /* is_directory */) |
| 42 |
35 // WebFileSystem response messages. | 43 // WebFileSystem response messages. |
36 IPC_MESSAGE_CONTROL1(FileSystemMsg_DidSucceed, | 44 IPC_MESSAGE_CONTROL1(FileSystemMsg_DidSucceed, |
37 int /* request_id */) | 45 int /* request_id */) |
38 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidReadMetadata, | 46 IPC_MESSAGE_CONTROL2(FileSystemMsg_DidReadMetadata, |
39 int /* request_id */, | 47 int /* request_id */, |
40 base::PlatformFileInfo) | 48 base::PlatformFileInfo) |
41 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidCreateSnapshotFile, | 49 IPC_MESSAGE_CONTROL3(FileSystemMsg_DidCreateSnapshotFile, |
42 int /* request_id */, | 50 int /* request_id */, |
43 base::PlatformFileInfo, | 51 base::PlatformFileInfo, |
44 base::FilePath /* true platform path */) | 52 base::FilePath /* true platform path */) |
(...skipping 17 matching lines...) Expand all Loading... |
62 // File system messages sent from the child process to the browser. | 70 // File system messages sent from the child process to the browser. |
63 | 71 |
64 // WebFrameClient::openFileSystem() message. | 72 // WebFrameClient::openFileSystem() message. |
65 IPC_MESSAGE_CONTROL5(FileSystemHostMsg_Open, | 73 IPC_MESSAGE_CONTROL5(FileSystemHostMsg_Open, |
66 int /* request_id */, | 74 int /* request_id */, |
67 GURL /* origin_url */, | 75 GURL /* origin_url */, |
68 fileapi::FileSystemType /* type */, | 76 fileapi::FileSystemType /* type */, |
69 int64 /* requested_size */, | 77 int64 /* requested_size */, |
70 bool /* create */) | 78 bool /* create */) |
71 | 79 |
| 80 // WevFrameClient::resolveURL() message. |
| 81 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_ResolveURL, |
| 82 int /* request_id */, |
| 83 GURL /* filesystem_url */) |
| 84 |
72 // WebFrameClient::deleteFileSystem() message. | 85 // WebFrameClient::deleteFileSystem() message. |
73 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_DeleteFileSystem, | 86 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_DeleteFileSystem, |
74 int /* request_id */, | 87 int /* request_id */, |
75 GURL /* origin_url */, | 88 GURL /* origin_url */, |
76 fileapi::FileSystemType /* type */) | 89 fileapi::FileSystemType /* type */) |
77 | 90 |
78 // WebFileSystem::move() message. | 91 // WebFileSystem::move() message. |
79 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Move, | 92 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Move, |
80 int /* request_id */, | 93 int /* request_id */, |
81 GURL /* src path */, | 94 GURL /* src path */, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 GURL /* file path */, | 181 GURL /* file path */, |
169 base::FilePath /* platform_path */) | 182 base::FilePath /* platform_path */) |
170 | 183 |
171 // Pre- and post-update notifications for ppapi implementation. | 184 // Pre- and post-update notifications for ppapi implementation. |
172 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 185 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
173 GURL /* file_path */) | 186 GURL /* file_path */) |
174 | 187 |
175 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 188 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
176 GURL /* file_path */, | 189 GURL /* file_path */, |
177 int64 /* delta */) | 190 int64 /* delta */) |
OLD | NEW |