OLD | NEW |
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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/common/p2p_socket_type.h" | 16 #include "content/common/p2p_socket_type.h" |
17 #include "content/public/browser/render_process_host.h" | 17 #include "content/public/browser/render_process_host.h" |
18 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
19 #include "net/udp/datagram_socket.h" | 19 #include "net/socket/datagram_socket.h" |
20 | 20 |
21 namespace IPC { | 21 namespace IPC { |
22 class Sender; | 22 class Sender; |
23 } | 23 } |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
27 } | 27 } |
28 | 28 |
29 namespace rtc { | 29 namespace rtc { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 int32_t send_bytes_delayed_cur_; | 166 int32_t send_bytes_delayed_cur_; |
167 | 167 |
168 base::WeakPtrFactory<P2PSocketHost> weak_ptr_factory_; | 168 base::WeakPtrFactory<P2PSocketHost> weak_ptr_factory_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(P2PSocketHost); | 170 DISALLOW_COPY_AND_ASSIGN(P2PSocketHost); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace content | 173 } // namespace content |
174 | 174 |
175 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ | 175 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ |
OLD | NEW |