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