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