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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 int /* request_id */, | 111 int /* request_id */, |
112 GURL /* path */, | 112 GURL /* path */, |
113 bool /* is_directory */) | 113 bool /* is_directory */) |
114 | 114 |
115 // WebFileSystem::readDirectory() message. | 115 // WebFileSystem::readDirectory() message. |
116 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_ReadDirectory, | 116 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_ReadDirectory, |
117 int /* request_id */, | 117 int /* request_id */, |
118 GURL /* path */) | 118 GURL /* path */) |
119 | 119 |
120 // WebFileWriter::write() message. | 120 // WebFileWriter::write() message. |
| 121 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_WriteDeprecated, |
| 122 int /* request id */, |
| 123 GURL /* file path */, |
| 124 GURL /* blob URL */, |
| 125 int64 /* position */) |
| 126 |
| 127 // WebFileWriter::write() message. |
121 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_Write, | 128 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_Write, |
122 int /* request id */, | 129 int /* request id */, |
123 GURL /* file path */, | 130 GURL /* file path */, |
124 GURL /* blob URL */, | 131 std::string /* blob uuid */, |
125 int64 /* position */) | 132 int64 /* position */) |
126 | 133 |
127 // WebFileWriter::truncate() message. | 134 // WebFileWriter::truncate() message. |
128 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Truncate, | 135 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_Truncate, |
129 int /* request id */, | 136 int /* request id */, |
130 GURL /* file path */, | 137 GURL /* file path */, |
131 int64 /* length */) | 138 int64 /* length */) |
132 | 139 |
133 // Pepper's Touch() message. | 140 // Pepper's Touch() message. |
134 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, | 141 IPC_MESSAGE_CONTROL4(FileSystemHostMsg_TouchFile, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 GURL /* file path */, | 175 GURL /* file path */, |
169 base::FilePath /* platform_path */) | 176 base::FilePath /* platform_path */) |
170 | 177 |
171 // Pre- and post-update notifications for ppapi implementation. | 178 // Pre- and post-update notifications for ppapi implementation. |
172 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 179 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
173 GURL /* file_path */) | 180 GURL /* file_path */) |
174 | 181 |
175 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 182 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
176 GURL /* file_path */, | 183 GURL /* file_path */, |
177 int64 /* delta */) | 184 int64 /* delta */) |
OLD | NEW |