OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 // IPC messages for navigator.connect |
| 6 |
| 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "url/gurl.h" |
| 9 |
| 10 #define IPC_MESSAGE_START NavigatorConnectMsgStart |
| 11 |
| 12 // Messages sent from the child process to the browser. |
| 13 IPC_MESSAGE_CONTROL4(NavigatorConnectHostMsg_Connect, |
| 14 int /* thread_id */, |
| 15 int /* request_id */, |
| 16 GURL /* target_url */, |
| 17 int /* message_port_id */) |
| 18 |
| 19 // Messages sent from the browser to the child process. |
| 20 IPC_MESSAGE_CONTROL3(NavigatorConnectMsg_ConnectResult, |
| 21 int /* thread_id */, |
| 22 int /* request_id */, |
| 23 bool /* allow_connect */) |
OLD | NEW |