| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <queue> | 11 #include <queue> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/message_loop/message_loop.h" | |
| 18 #include "content/browser/renderer_host/p2p/socket_host.h" | 17 #include "content/browser/renderer_host/p2p/socket_host.h" |
| 19 #include "content/common/p2p_socket_type.h" | 18 #include "content/common/p2p_socket_type.h" |
| 20 #include "net/base/completion_callback.h" | 19 #include "net/base/completion_callback.h" |
| 21 #include "net/base/ip_endpoint.h" | 20 #include "net/base/ip_endpoint.h" |
| 22 | 21 |
| 23 namespace net { | 22 namespace net { |
| 24 class DrainableIOBuffer; | 23 class DrainableIOBuffer; |
| 25 class GrowableIOBuffer; | 24 class GrowableIOBuffer; |
| 26 class StreamSocket; | 25 class StreamSocket; |
| 27 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 private: | 143 private: |
| 145 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); | 144 int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); |
| 146 | 145 |
| 147 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp); | 146 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostStunTcp); |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 | 149 |
| 151 } // namespace content | 150 } // namespace content |
| 152 | 151 |
| 153 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ | 152 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ |
| OLD | NEW |