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 "content/public/common/permission_status.mojom.h"
11 #include "ipc/ipc_message_macros.h"
12 #include "ipc/ipc_platform_file.h"
15 #define IPC_MESSAGE_START LayoutTestMsgStart
17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PermissionStatus
,
18 content::PERMISSION_STATUS_GRANTED
,
19 content::PERMISSION_STATUS_ASK
)
21 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString
,
22 base::FilePath
/* local path */,
23 std::string
/* contents */)
24 IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem
,
25 std::vector
<base::FilePath
> /* absolute_filenames */,
26 std::string
/* filesystem_id */)
27 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases
)
28 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota
,
30 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick
,
31 std::string
/* title */)
32 IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies
,
34 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies
)
35 IPC_MESSAGE_ROUTED4(LayoutTestHostMsg_SetPermission
,
36 std::string
/* name */,
37 content::PermissionStatus
/* status */,
39 GURL
/* embedding_origin */ )
40 IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ResetPermissions
)
41 IPC_MESSAGE_CONTROL1(LayoutTestHostMsg_SetBluetoothAdapter
,
42 std::string
/* name */)