OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
| 9 #include "content/public/common/common_param_traits.h" |
9 #include "content/public/common/permission_status.mojom.h" | 10 #include "content/public/common/permission_status.mojom.h" |
10 #include "ipc/ipc_message_macros.h" | 11 #include "ipc/ipc_message_macros.h" |
11 #include "ipc/ipc_platform_file.h" | 12 #include "ipc/ipc_platform_file.h" |
12 #include "url/gurl.h" | 13 #include "url/gurl.h" |
13 #include "url/ipc/url_param_traits.h" | |
14 | 14 |
15 #define IPC_MESSAGE_START LayoutTestMsgStart | 15 #define IPC_MESSAGE_START LayoutTestMsgStart |
16 | 16 |
17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PermissionStatus, | 17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PermissionStatus, |
18 content::PermissionStatus::GRANTED, | 18 content::PermissionStatus::GRANTED, |
19 content::PermissionStatus::ASK) | 19 content::PermissionStatus::ASK) |
20 | 20 |
21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, | 21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, |
22 base::FilePath /* local path */, | 22 base::FilePath /* local path */, |
23 std::string /* contents */) | 23 std::string /* contents */) |
(...skipping 13 matching lines...) Expand all Loading... |
37 bool /* accept */) | 37 bool /* accept */) |
38 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) | 38 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) |
39 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission, | 39 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission, |
40 std::string /* name */, | 40 std::string /* name */, |
41 content::PermissionStatus /* status */, | 41 content::PermissionStatus /* status */, |
42 GURL /* origin */, | 42 GURL /* origin */, |
43 GURL /* embedding_origin */ ) | 43 GURL /* embedding_origin */ ) |
44 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions) | 44 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions) |
45 IPC_MESSAGE_CONTROL1(LayoutTestHostMsg_SetBluetoothAdapter, | 45 IPC_MESSAGE_CONTROL1(LayoutTestHostMsg_SetBluetoothAdapter, |
46 std::string /* name */) | 46 std::string /* name */) |
OLD | NEW |