| 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 <vector> |
| 9 |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 11 #include "base/scoped_ptr.h" | |
| 12 #include "content/browser/renderer_host/p2p/socket_host.h" | 14 #include "content/browser/renderer_host/p2p/socket_host.h" |
| 13 #include "content/common/p2p_sockets.h" | 15 #include "content/common/p2p_sockets.h" |
| 14 #include "net/base/completion_callback.h" | 16 #include "net/base/completion_callback.h" |
| 15 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
| 16 | 18 |
| 17 namespace net { | 19 namespace net { |
| 18 class DrainableIOBuffer; | 20 class DrainableIOBuffer; |
| 19 class GrowableIOBuffer; | 21 class GrowableIOBuffer; |
| 20 class StreamSocket; | 22 class StreamSocket; |
| 21 } // namespace net | 23 } // namespace net |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool authorized_; | 65 bool authorized_; |
| 64 | 66 |
| 65 net::CompletionCallbackImpl<P2PSocketHostTcp> connect_callback_; | 67 net::CompletionCallbackImpl<P2PSocketHostTcp> connect_callback_; |
| 66 net::CompletionCallbackImpl<P2PSocketHostTcp> read_callback_; | 68 net::CompletionCallbackImpl<P2PSocketHostTcp> read_callback_; |
| 67 net::CompletionCallbackImpl<P2PSocketHostTcp> write_callback_; | 69 net::CompletionCallbackImpl<P2PSocketHostTcp> write_callback_; |
| 68 | 70 |
| 69 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostTcp); | 71 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostTcp); |
| 70 }; | 72 }; |
| 71 | 73 |
| 72 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ | 74 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ |
| OLD | NEW |