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