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

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

Issue 13584008: Send notification about outgoing p2p packets from browser to renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
OLDNEW
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 // IPC messages for the P2P Transport API. 5 // IPC messages for the P2P Transport API.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/p2p_sockets.h" 9 #include "content/common/p2p_sockets.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 17 matching lines...) Expand all
28 net::NetworkInterfaceList /* networks */) 28 net::NetworkInterfaceList /* networks */)
29 29
30 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult, 30 IPC_MESSAGE_CONTROL2(P2PMsg_GetHostAddressResult,
31 int32 /* request_id */, 31 int32 /* request_id */,
32 net::IPAddressNumber /* address */) 32 net::IPAddressNumber /* address */)
33 33
34 IPC_MESSAGE_CONTROL2(P2PMsg_OnSocketCreated, 34 IPC_MESSAGE_CONTROL2(P2PMsg_OnSocketCreated,
35 int /* socket_id */, 35 int /* socket_id */,
36 net::IPEndPoint /* socket_address */) 36 net::IPEndPoint /* socket_address */)
37 37
38 IPC_MESSAGE_CONTROL1(P2PMsg_OnSendComplete,
39 int /* socket_id */)
40
38 IPC_MESSAGE_CONTROL1(P2PMsg_OnError, 41 IPC_MESSAGE_CONTROL1(P2PMsg_OnError,
39 int /* socket_id */) 42 int /* socket_id */)
40 43
41 IPC_MESSAGE_CONTROL2(P2PMsg_OnIncomingTcpConnection, 44 IPC_MESSAGE_CONTROL2(P2PMsg_OnIncomingTcpConnection,
42 int /* socket_id */, 45 int /* socket_id */,
43 net::IPEndPoint /* socket_address */) 46 net::IPEndPoint /* socket_address */)
44 47
45 IPC_MESSAGE_CONTROL3(P2PMsg_OnDataReceived, 48 IPC_MESSAGE_CONTROL3(P2PMsg_OnDataReceived,
46 int /* socket_id */, 49 int /* socket_id */,
47 net::IPEndPoint /* socket_address */, 50 net::IPEndPoint /* socket_address */,
(...skipping 22 matching lines...) Expand all
70 int /* connected_socket_id */) 73 int /* connected_socket_id */)
71 74
72 // TODO(sergeyu): Use shared memory to pass the data. 75 // TODO(sergeyu): Use shared memory to pass the data.
73 IPC_MESSAGE_CONTROL3(P2PHostMsg_Send, 76 IPC_MESSAGE_CONTROL3(P2PHostMsg_Send,
74 int /* socket_id */, 77 int /* socket_id */,
75 net::IPEndPoint /* socket_address */, 78 net::IPEndPoint /* socket_address */,
76 std::vector<char> /* data */) 79 std::vector<char> /* data */)
77 80
78 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket, 81 IPC_MESSAGE_CONTROL1(P2PHostMsg_DestroySocket,
79 int /* socket_id */) 82 int /* socket_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698