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