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/proxy/ppapi_param_traits.h" | 9 #include "ppapi/proxy/ppapi_param_traits.h" |
10 | 10 |
11 #undef IPC_MESSAGE_EXPORT | 11 #undef IPC_MESSAGE_EXPORT |
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
13 #define IPC_MESSAGE_START PepperMsgStart | 13 #define IPC_MESSAGE_START PepperMsgStart |
14 | 14 |
15 // Pepper (non-file-system) messages sent from the renderer to the browser. | 15 // Pepper (non-file-system) messages sent from the renderer to the browser. |
16 | 16 |
17 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, | 17 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, |
18 base::Time /* t */, | 18 base::Time /* t */, |
19 double /* result */) | 19 double /* result */) |
20 | 20 |
21 IPC_SYNC_MESSAGE_CONTROL0_1(PepperMsg_GetDeviceID, | 21 IPC_SYNC_MESSAGE_CONTROL0_1(PepperMsg_GetDeviceID, |
22 std::string /* id */) | 22 std::string /* id */) |
| 23 |
| 24 IPC_SYNC_MESSAGE_CONTROL2_2(PepperMsg_GetLocalDataRestrictions, |
| 25 int32_t /* render_view_id */, |
| 26 GURL /* url */, |
| 27 bool /* block_access */, |
| 28 bool /* in_memory */) |
OLD | NEW |