| 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_macros.h" |
| 9 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 10 #include "ipc/ipc_platform_file.h" | 11 #include "ipc/ipc_platform_file.h" |
| 11 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom.h" | 12 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom.h" |
| 12 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 13 #include "url/ipc/url_param_traits.h" | 14 #include "url/ipc/url_param_traits.h" |
| 14 | 15 |
| 15 #define IPC_MESSAGE_START LayoutTestMsgStart | 16 #define IPC_MESSAGE_START LayoutTestMsgStart |
| 16 | 17 |
| 17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::mojom::PermissionStatus, | |
| 18 blink::mojom::PermissionStatus::GRANTED, | |
| 19 blink::mojom::PermissionStatus::ASK) | |
| 20 | |
| 21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, | 18 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, |
| 22 base::FilePath /* local path */, | 19 base::FilePath /* local path */, |
| 23 std::string /* contents */) | 20 std::string /* contents */) |
| 24 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, | 21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, |
| 25 std::vector<base::FilePath> /* absolute_filenames */, | 22 std::vector<base::FilePath> /* absolute_filenames */, |
| 26 std::string /* filesystem_id */) | 23 std::string /* filesystem_id */) |
| 27 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) | 24 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) |
| 28 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, | 25 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, |
| 29 int /* quota */) | 26 int /* quota */) |
| 30 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick, | 27 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SimulateWebNotificationClick, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 48 IPC_MESSAGE_CONTROL1( | 45 IPC_MESSAGE_CONTROL1( |
| 49 LayoutTestHostMsg_LayoutTestRuntimeFlagsChanged, | 46 LayoutTestHostMsg_LayoutTestRuntimeFlagsChanged, |
| 50 base::DictionaryValue /* changed_layout_test_runtime_flags */) | 47 base::DictionaryValue /* changed_layout_test_runtime_flags */) |
| 51 | 48 |
| 52 // Used send flag changes to renderers - either when | 49 // Used send flag changes to renderers - either when |
| 53 // 1) broadcasting change happening in one renderer to all other renderers, or | 50 // 1) broadcasting change happening in one renderer to all other renderers, or |
| 54 // 2) sending accumulated changes to a single new renderer. | 51 // 2) sending accumulated changes to a single new renderer. |
| 55 IPC_MESSAGE_CONTROL1( | 52 IPC_MESSAGE_CONTROL1( |
| 56 LayoutTestMsg_ReplicateLayoutTestRuntimeFlagsChanges, | 53 LayoutTestMsg_ReplicateLayoutTestRuntimeFlagsChanges, |
| 57 base::DictionaryValue /* changed_layout_test_runtime_flags */) | 54 base::DictionaryValue /* changed_layout_test_runtime_flags */) |
| OLD | NEW |