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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include "content/public/common/common_param_traits.h" | 7 #include "content/public/common/common_param_traits.h" |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 #include "ipc/ipc_param_traits.h" | 9 #include "ipc/ipc_param_traits.h" |
10 #include "ipc/ipc_platform_file.h" | 10 #include "ipc/ipc_platform_file.h" |
11 | 11 |
| 12 #if defined(OS_ANDROID) |
| 13 #include "url/gurl.h" |
| 14 #endif |
| 15 |
12 #define IPC_MESSAGE_START FileUtilitiesMsgStart | 16 #define IPC_MESSAGE_START FileUtilitiesMsgStart |
13 | 17 |
14 // File utilities messages sent from the renderer to the browser. | 18 // File utilities messages sent from the renderer to the browser. |
15 | 19 |
16 IPC_SYNC_MESSAGE_CONTROL1_2(FileUtilitiesMsg_GetFileInfo, | 20 IPC_SYNC_MESSAGE_CONTROL1_2(FileUtilitiesMsg_GetFileInfo, |
17 base::FilePath /* path */, | 21 base::FilePath /* path */, |
18 base::PlatformFileInfo /* result */, | 22 base::PlatformFileInfo /* result */, |
19 base::PlatformFileError /* status */) | 23 base::PlatformFileError /* status */) |
| 24 |
| 25 #if defined(OS_ANDROID) |
| 26 IPC_SYNC_MESSAGE_CONTROL1_2(FileUtilitiesMsg_GetContentUrlInfo, |
| 27 GURL /* content url */, |
| 28 base::PlatformFileInfo /* result */, |
| 29 base::PlatformFileError /* status */) |
| 30 #endif |
OLD | NEW |