Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: content/common/socket_stream_messages.h

Issue 9425006: Make IPC_MESSAGE_EXPORT more robust. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/p2p_messages.h ('k') | content/common/utility_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
9 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h" 11 #include "ipc/ipc_param_traits.h"
11 12
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
12 #define IPC_MESSAGE_START SocketStreamMsgStart 15 #define IPC_MESSAGE_START SocketStreamMsgStart
13 16
14 // Web Sockets messages sent from the renderer to the browser. 17 // Web Sockets messages sent from the renderer to the browser.
15 18
16 // 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|
17 // in the renderer process. 20 // in the renderer process.
18 // The browser starts connecting asynchronously. 21 // The browser starts connecting asynchronously.
19 // Once Socket Stream connection is established, the browser will send 22 // Once Socket Stream connection is established, the browser will send
20 // SocketStreamMsg_Connected back. 23 // SocketStreamMsg_Connected back.
21 IPC_MESSAGE_CONTROL2(SocketStreamHostMsg_Connect, 24 IPC_MESSAGE_CONTROL2(SocketStreamHostMsg_Connect,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 63
61 // |amount_sent| bytes of data requested by 64 // |amount_sent| bytes of data requested by
62 // SocketStreamHostMsg_SendData has been sent on the Socket Stream. 65 // SocketStreamHostMsg_SendData has been sent on the Socket Stream.
63 IPC_MESSAGE_CONTROL2(SocketStreamMsg_SentData, 66 IPC_MESSAGE_CONTROL2(SocketStreamMsg_SentData,
64 int /* socket_id */, 67 int /* socket_id */,
65 int /* amount_sent */) 68 int /* amount_sent */)
66 69
67 // The Socket Stream is closed. 70 // The Socket Stream is closed.
68 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed, 71 IPC_MESSAGE_CONTROL1(SocketStreamMsg_Closed,
69 int /* socket_id */) 72 int /* socket_id */)
OLDNEW
« no previous file with comments | « content/common/p2p_messages.h ('k') | content/common/utility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698