Cleanup: Update the path to insets and point headers.
[chromium-blink-merge.git] / content / common / navigator_connect_messages.h
blob5871bb4f28dcb8ca8a8f589e311a7df977cad12c
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 // IPC messages for navigator.connect
7 #include "content/common/navigator_connect_types.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "url/gurl.h"
11 #define IPC_MESSAGE_START NavigatorConnectMsgStart
13 IPC_STRUCT_TRAITS_BEGIN(content::CrossOriginServiceWorkerClient)
14 IPC_STRUCT_TRAITS_MEMBER(target_url)
15 IPC_STRUCT_TRAITS_MEMBER(origin)
16 IPC_STRUCT_TRAITS_MEMBER(message_port_id)
17 IPC_STRUCT_TRAITS_END()
19 // Messages sent from the child process to the browser.
20 IPC_MESSAGE_CONTROL3(NavigatorConnectHostMsg_Connect,
21 int /* thread_id */,
22 int /* request_id */,
23 content::CrossOriginServiceWorkerClient /* client */)
25 // Messages sent from the browser to the child process.
26 IPC_MESSAGE_CONTROL3(NavigatorConnectMsg_ConnectResult,
27 int /* thread_id */,
28 int /* request_id */,
29 bool /* allow_connect */)