| 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 CHROME_RENDERER_P2P_SOCKET_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
| 6 #define CHROME_RENDERER_P2P_SOCKET_CLIENT_H_ | 6 #define CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
| 11 #include "content/common/p2p_sockets.h" | 11 #include "content/common/p2p_sockets.h" |
| 12 #include "net/base/ip_endpoint.h" | 12 #include "net/base/ip_endpoint.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class MessageLoopProxy; | 15 class MessageLoopProxy; |
| 16 } // namespace base | 16 } // namespace base |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 P2PSocketDispatcher* dispatcher_; | 92 P2PSocketDispatcher* dispatcher_; |
| 93 scoped_refptr<base::MessageLoopProxy> ipc_message_loop_; | 93 scoped_refptr<base::MessageLoopProxy> ipc_message_loop_; |
| 94 scoped_refptr<base::MessageLoopProxy> delegate_message_loop_; | 94 scoped_refptr<base::MessageLoopProxy> delegate_message_loop_; |
| 95 int socket_id_; | 95 int socket_id_; |
| 96 Delegate* delegate_; | 96 Delegate* delegate_; |
| 97 State state_; | 97 State state_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(P2PSocketClient); | 99 DISALLOW_COPY_AND_ASSIGN(P2PSocketClient); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 #endif // CHROME_RENDERER_P2P_SOCKET_CLIENT_H_ | 102 #endif // CONTENT_RENDERER_P2P_SOCKET_CLIENT_H_ |
| OLD | NEW |