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" |
11 #include "webkit/common/fileapi/directory_entry.h" | 11 #include "webkit/common/fileapi/directory_entry.h" |
12 #include "webkit/common/fileapi/file_system_types.h" | 12 #include "webkit/common/fileapi/file_system_types.h" |
13 #include "webkit/common/quota/quota_types.h" | 13 #include "webkit/common/quota/quota_types.h" |
14 | 14 |
| 15 #undef IPC_MESSAGE_EXPORT |
| 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
15 #define IPC_MESSAGE_START FileSystemMsgStart | 17 #define IPC_MESSAGE_START FileSystemMsgStart |
16 | 18 |
17 IPC_STRUCT_TRAITS_BEGIN(fileapi::DirectoryEntry) | 19 IPC_STRUCT_TRAITS_BEGIN(fileapi::DirectoryEntry) |
18 IPC_STRUCT_TRAITS_MEMBER(name) | 20 IPC_STRUCT_TRAITS_MEMBER(name) |
19 IPC_STRUCT_TRAITS_MEMBER(is_directory) | 21 IPC_STRUCT_TRAITS_MEMBER(is_directory) |
20 IPC_STRUCT_TRAITS_END() | 22 IPC_STRUCT_TRAITS_END() |
21 | 23 |
22 IPC_ENUM_TRAITS(fileapi::FileSystemType) | 24 IPC_ENUM_TRAITS(fileapi::FileSystemType) |
23 IPC_ENUM_TRAITS(quota::QuotaLimitType) | 25 IPC_ENUM_TRAITS(quota::QuotaLimitType) |
24 | 26 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 GURL /* file path */, | 168 GURL /* file path */, |
167 base::FilePath /* platform_path */) | 169 base::FilePath /* platform_path */) |
168 | 170 |
169 // Pre- and post-update notifications for ppapi implementation. | 171 // Pre- and post-update notifications for ppapi implementation. |
170 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, | 172 IPC_MESSAGE_CONTROL1(FileSystemHostMsg_WillUpdate, |
171 GURL /* file_path */) | 173 GURL /* file_path */) |
172 | 174 |
173 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, | 175 IPC_MESSAGE_CONTROL2(FileSystemHostMsg_DidUpdate, |
174 GURL /* file_path */, | 176 GURL /* file_path */, |
175 int64 /* delta */) | 177 int64 /* delta */) |
OLD | NEW |