| 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_RENDERER_P2P_PORT_ALLOCATOR_H_ | 5 #ifndef CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
| 6 #define CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ | 6 #define CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "net/base/net_util.h" | 9 #include "net/base/net_util.h" |
| 10 #include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h" | 10 #include "third_party/libjingle/source/talk/p2p/client/basicportallocator.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void AddConfig(); | 80 void AddConfig(); |
| 81 | 81 |
| 82 P2PPortAllocator* allocator_; | 82 P2PPortAllocator* allocator_; |
| 83 | 83 |
| 84 scoped_refptr<P2PHostAddressRequest> stun_address_request_; | 84 scoped_refptr<P2PHostAddressRequest> stun_address_request_; |
| 85 talk_base::SocketAddress stun_server_address_; | 85 talk_base::SocketAddress stun_server_address_; |
| 86 | 86 |
| 87 scoped_ptr<WebKit::WebURLLoader> relay_session_request_; | 87 scoped_ptr<WebKit::WebURLLoader> relay_session_request_; |
| 88 int relay_session_attempts_; | 88 int relay_session_attempts_; |
| 89 std::string relay_session_response_; | 89 std::string relay_session_response_; |
| 90 std::string relay_username_; | |
| 91 std::string relay_password_; | |
| 92 talk_base::SocketAddress relay_ip_; | 90 talk_base::SocketAddress relay_ip_; |
| 93 int relay_udp_port_; | 91 int relay_udp_port_; |
| 94 int relay_tcp_port_; | 92 int relay_tcp_port_; |
| 95 int relay_ssltcp_port_; | 93 int relay_ssltcp_port_; |
| 96 | 94 |
| 97 DISALLOW_COPY_AND_ASSIGN(P2PPortAllocatorSession); | 95 DISALLOW_COPY_AND_ASSIGN(P2PPortAllocatorSession); |
| 98 }; | 96 }; |
| 99 | 97 |
| 100 } // namespace content | 98 } // namespace content |
| 101 | 99 |
| 102 #endif // CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ | 100 #endif // CONTENT_RENDERER_P2P_PORT_ALLOCATOR_H_ |
| OLD | NEW |