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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 GURL /* path */, | 143 GURL /* path */, |
144 base::Time /* last_access_time */, | 144 base::Time /* last_access_time */, |
145 base::Time /* last_modified_time */) | 145 base::Time /* last_modified_time */) |
146 | 146 |
147 // WebFileWriter::cancel() message. | 147 // WebFileWriter::cancel() message. |
148 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, | 148 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CancelWrite, |
149 int /* request id */, | 149 int /* request id */, |
150 int /* id of request to cancel */) | 150 int /* id of request to cancel */) |
151 | 151 |
152 // Pepper's OpenFile message. | 152 // Pepper's OpenFile message. |
153 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenFile, | 153 IPC_MESSAGE_CONTROL3(FileSystemHostMsg_OpenPepperFile, |
154 int /* request id */, | 154 int /* request id */, |
155 GURL /* file path */, | 155 GURL /* file path */, |
156 int /* file flags */) | 156 int /* pp_open_flags */) |
157 | 157 |
158 // Pepper's NotifyCloseFile message. | 158 // Pepper's NotifyCloseFile message. |
159 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_NotifyCloseFile, | 159 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_NotifyCloseFile, |
160 int /* file_open_id */) | 160 int /* file_open_id */) |
161 | 161 |
162 // WebFileSystem::createSnapshotFileAndReadMetadata() message. | 162 // WebFileSystem::createSnapshotFileAndReadMetadata() message. |
163 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile, | 163 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_CreateSnapshotFile, |
164 int /* request_id */, | 164 int /* request_id */, |
165 GURL /* file_path */) | 165 GURL /* file_path */) |
166 | 166 |
167 // Renderers are expected to send this message after having processed | 167 // Renderers are expected to send this message after having processed |
168 // the FileSystemMsg_DidCreateSnapshotFile message. In particular, | 168 // the FileSystemMsg_DidCreateSnapshotFile message. In particular, |
169 // after having created a BlobDataHandle backed by the snapshot file. | 169 // after having created a BlobDataHandle backed by the snapshot file. |
170 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_DidReceiveSnapshotFile, | 170 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_DidReceiveSnapshotFile, |
171 int /* request_id */) | 171 int /* request_id */) |
172 | 172 |
173 // For Pepper's URL loader. | 173 // For Pepper's URL loader. |
174 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath, | 174 IPC_SYNC_MESSAGE_CONTROL1_1(FileSystemHostMsg_SyncGetPlatformPath, |
175 GURL /* file path */, | 175 GURL /* file path */, |
176 base::FilePath /* platform_path */) | 176 base::FilePath /* platform_path */) |
177 | 177 |
178 // Pre- and post-update notifications for ppapi implementation. | 178 // Pre- and post-update notifications for ppapi implementation. |
179 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 179 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
180 GURL /* file_path */) | 180 GURL /* file_path */) |
181 | 181 |
182 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 182 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
183 GURL /* file_path */, | 183 GURL /* file_path */, |
184 int64 /* delta */) | 184 int64 /* delta */) |
OLD | NEW |