| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "googleurl/src/gurl.h" | |
| 10 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 11 #include "ipc/ipc_param_traits.h" | 10 #include "ipc/ipc_param_traits.h" |
| 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 #undef IPC_MESSAGE_EXPORT | 13 #undef IPC_MESSAGE_EXPORT |
| 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 15 #define IPC_MESSAGE_START SocketStreamMsgStart | 15 #define IPC_MESSAGE_START SocketStreamMsgStart |
| 16 | 16 |
| 17 // Web Sockets messages sent from the renderer to the browser. | 17 // Web Sockets messages sent from the renderer to the browser. |
| 18 | 18 |
| 19 // Open new Socket Stream for the |socket_url| identified by |socket_id| | 19 // Open new Socket Stream for the |socket_url| identified by |socket_id| |
| 20 // in the renderer process. | 20 // in the renderer process. |
| 21 // The browser starts connecting asynchronously. | 21 // The browser starts connecting asynchronously. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 int /* amount_sent */) | 71 int /* amount_sent */) |
| 72 | 72 |
| 73 // The Socket Stream is closed. | 73 // The Socket Stream is closed. |
| 74 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed, | 74 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed, |
| 75 int /* socket_id */) | 75 int /* socket_id */) |
| 76 | 76 |
| 77 // The Socket Stream is failed. | 77 // The Socket Stream is failed. |
| 78 IPC_MESSAGE_CONTROL2(SocketStreamMsg_Failed, | 78 IPC_MESSAGE_CONTROL2(SocketStreamMsg_Failed, |
| 79 int /* socket_id */, | 79 int /* socket_id */, |
| 80 int /* error_code */) | 80 int /* error_code */) |
| OLD | NEW |