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 "storage/common/fileapi/directory_entry.h" |
| 11 #include "storage/common/fileapi/file_system_info.h" |
| 12 #include "storage/common/fileapi/file_system_types.h" |
| 13 #include "storage/common/quota/quota_types.h" |
10 #include "url/gurl.h" | 14 #include "url/gurl.h" |
11 #include "webkit/common/fileapi/directory_entry.h" | |
12 #include "webkit/common/fileapi/file_system_info.h" | |
13 #include "webkit/common/fileapi/file_system_types.h" | |
14 #include "webkit/common/quota/quota_types.h" | |
15 | 15 |
16 #undef IPC_MESSAGE_EXPORT | 16 #undef IPC_MESSAGE_EXPORT |
17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
18 #define IPC_MESSAGE_START FileSystemMsgStart | 18 #define IPC_MESSAGE_START FileSystemMsgStart |
19 | 19 |
20 IPC_STRUCT_TRAITS_BEGIN(storage::DirectoryEntry) | 20 IPC_STRUCT_TRAITS_BEGIN(storage::DirectoryEntry) |
21 IPC_STRUCT_TRAITS_MEMBER(name) | 21 IPC_STRUCT_TRAITS_MEMBER(name) |
22 IPC_STRUCT_TRAITS_MEMBER(is_directory) | 22 IPC_STRUCT_TRAITS_MEMBER(is_directory) |
23 IPC_STRUCT_TRAITS_END() | 23 IPC_STRUCT_TRAITS_END() |
24 | 24 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 */) |
OLD | NEW |