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
3 // found in the LICENSE file.
5 // Multiply-included file, no traditional include guard.
9 #include "content/public/common/common_param_traits.h"
10 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_platform_file.h"
14 #define IPC_MESSAGE_START LayoutTestMsgStart
16 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString
,
17 base::FilePath
/* local path */,
18 std::string
/* contents */)
19 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem
,
20 std::vector
<base::FilePath
> /* absolute_filenames */,
21 std::string
/* filesystem_id */)
22 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases
)
23 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota
,
25 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_GrantWebNotificationPermission
,
27 bool /* permission_granted */)
28 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearWebNotificationPermissions
)
29 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick
,
30 std::string
/* title */)
31 IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_SetPushMessagingPermission
,
34 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearPushMessagingPermissions
)
35 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies
,
37 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies
)