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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_udp.h

Issue 45183002: Expose the p2p client in content/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed a file Created 7 years, 1 month 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) 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "content/browser/renderer_host/p2p/socket_host.h" 16 #include "content/browser/renderer_host/p2p/socket_host.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "content/common/p2p_sockets.h" 18 #include "content/public/common/p2p_sockets.h"
19 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
20 #include "net/udp/udp_server_socket.h" 20 #include "net/udp/udp_server_socket.h"
21 21
22 namespace content { 22 namespace content {
23 23
24 class P2PMessageThrottler; 24 class P2PMessageThrottler;
25 25
26 class CONTENT_EXPORT P2PSocketHostUdp : public P2PSocketHost { 26 class CONTENT_EXPORT P2PSocketHostUdp : public P2PSocketHost {
27 public: 27 public:
28 P2PSocketHostUdp(IPC::Sender* message_sender, int id, 28 P2PSocketHostUdp(IPC::Sender* message_sender, int id,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // response or relay allocation request or response. 79 // response or relay allocation request or response.
80 ConnectedPeerSet connected_peers_; 80 ConnectedPeerSet connected_peers_;
81 P2PMessageThrottler* throttler_; 81 P2PMessageThrottler* throttler_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp); 83 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp);
84 }; 84 };
85 85
86 } // namespace content 86 } // namespace content
87 87
88 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 88 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698