| 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/common_param_traits.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "ipc/ipc_platform_file.h" | 11 #include "ipc/ipc_platform_file.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 #define IPC_MESSAGE_START LayoutTestMsgStart | 14 #define IPC_MESSAGE_START LayoutTestMsgStart |
| 15 | 15 |
| 16 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, | 16 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString, |
| 17 base::FilePath /* local path */, | 17 base::FilePath /* local path */, |
| 18 std::string /* contents */) | 18 std::string /* contents */) |
| 19 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, | 19 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem, |
| 20 std::vector<base::FilePath> /* absolute_filenames */, | 20 std::vector<base::FilePath> /* absolute_filenames */, |
| 21 std::string /* filesystem_id */) | 21 std::string /* filesystem_id */) |
| 22 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) | 22 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases) |
| 23 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, | 23 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota, |
| 24 int /* quota */) | 24 int /* quota */) |
| 25 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_CheckWebNotificationPermission, | |
| 26 GURL /* origin */, | |
| 27 int /* result */) | |
| 28 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_GrantWebNotificationPermission, | 25 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_GrantWebNotificationPermission, |
| 29 GURL /* origin */, | 26 GURL /* origin */, |
| 30 bool /* permission_granted */) | 27 bool /* permission_granted */) |
| 31 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearWebNotificationPermissions) | 28 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearWebNotificationPermissions) |
| 32 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick, | 29 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick, |
| 33 std::string /* title */) | 30 std::string /* title */) |
| 34 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies, | 31 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies, |
| 35 bool /* accept */) | 32 bool /* accept */) |
| 36 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) | 33 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies) |
| OLD | NEW |