Index: content/common/navigator_connect_messages.h |
diff --git a/content/common/navigator_connect_messages.h b/content/common/navigator_connect_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cdf7144f6eccb2b1ce3271c4764e974bb3ec9d32 |
--- /dev/null |
+++ b/content/common/navigator_connect_messages.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// IPC messages for navigator.connect |
+ |
+#include "ipc/ipc_message_macros.h" |
+#include "url/gurl.h" |
+ |
+#define IPC_MESSAGE_START NavigatorConnectMsgStart |
+ |
+// Messages sent from the child process to the browser. |
+IPC_MESSAGE_CONTROL4(NavigatorConnectHostMsg_Connect, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ GURL /* target_url */, |
+ int /* message_port_id */) |
+ |
+// Messages sent from the browser to the child process. |
+IPC_MESSAGE_CONTROL3(NavigatorConnectMsg_ConnectResult, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ bool /* allow_connect */) |