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, no traditional include guard | 5 // Multiply-included message file, no traditional include guard |
6 #include "content/common/content_export.h" | 6 #include "content/common/content_export.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ipc/ipc_platform_file.h" | 8 #include "ipc/ipc_platform_file.h" |
9 #include "ppapi/c/private/ppb_flash.h" | 9 #include "ppapi/c/private/ppb_flash.h" |
10 #include "ppapi/proxy/ppapi_param_traits.h" | 10 #include "ppapi/proxy/ppapi_param_traits.h" |
11 | 11 |
12 #undef IPC_MESSAGE_EXPORT | 12 #undef IPC_MESSAGE_EXPORT |
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
14 #define IPC_MESSAGE_START PepperMsgStart | 14 #define IPC_MESSAGE_START PepperMsgStart |
15 | 15 |
16 IPC_ENUM_TRAITS(PP_FlashLSORestrictions) | 16 IPC_ENUM_TRAITS(PP_FlashLSORestrictions) |
17 | 17 |
18 // Pepper (non-file-system) messages sent from the renderer to the browser. | 18 // Pepper (non-file-system) messages sent from the renderer to the browser. |
19 | 19 |
20 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, | 20 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, |
21 base::Time /* t */, | 21 base::Time /* t */, |
22 double /* result */) | 22 double /* result */) |
23 | 23 |
24 IPC_SYNC_MESSAGE_CONTROL0_1(PepperMsg_GetDeviceID, | |
25 std::string /* id */) | |
26 | |
27 IPC_SYNC_MESSAGE_CONTROL2_1(PepperMsg_GetLocalDataRestrictions, | 24 IPC_SYNC_MESSAGE_CONTROL2_1(PepperMsg_GetLocalDataRestrictions, |
28 GURL /* document_url */, | 25 GURL /* document_url */, |
29 GURL /* plugin_url */, | 26 GURL /* plugin_url */, |
30 PP_FlashLSORestrictions /* restrictions */) | 27 PP_FlashLSORestrictions /* restrictions */) |
OLD | NEW |