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_TCP_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "content/browser/renderer_host/p2p/socket_host.h" | 15 #include "content/browser/renderer_host/p2p/socket_host.h" |
16 #include "content/common/p2p_sockets.h" | 16 #include "content/public/common/p2p_socket_type.h" |
17 #include "net/base/completion_callback.h" | 17 #include "net/base/completion_callback.h" |
18 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 class DrainableIOBuffer; | 21 class DrainableIOBuffer; |
22 class GrowableIOBuffer; | 22 class GrowableIOBuffer; |
23 class StreamSocket; | 23 class StreamSocket; |
24 class URLRequestContextGetter; | 24 class URLRequestContextGetter; |
25 } // namespace net | 25 } // namespace net |
26 | 26 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 private: | 132 private: |
133 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); | 133 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp); | 135 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp); |
136 }; | 136 }; |
137 | 137 |
138 | 138 |
139 } // namespace content | 139 } // namespace content |
140 | 140 |
141 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ | 141 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ |
OLD | NEW |