| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright 2012 The WebRTC Project Authors. All rights reserved. | 2  *  Copyright 2012 The WebRTC Project Authors. All rights reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 253   // Destroys the entry only if |timestamp| matches the destruction timestamp | 253   // Destroys the entry only if |timestamp| matches the destruction timestamp | 
| 254   // in |entry|. | 254   // in |entry|. | 
| 255   void DestroyEntryIfNotCancelled(TurnEntry* entry, int64_t timestamp); | 255   void DestroyEntryIfNotCancelled(TurnEntry* entry, int64_t timestamp); | 
| 256   void ScheduleEntryDestruction(TurnEntry* entry); | 256   void ScheduleEntryDestruction(TurnEntry* entry); | 
| 257   void CancelEntryDestruction(TurnEntry* entry); | 257   void CancelEntryDestruction(TurnEntry* entry); | 
| 258 | 258 | 
| 259   // Marks the connection with remote address |address| failed and | 259   // Marks the connection with remote address |address| failed and | 
| 260   // pruned (a.k.a. write-timed-out). Returns true if a connection is found. | 260   // pruned (a.k.a. write-timed-out). Returns true if a connection is found. | 
| 261   bool FailAndPruneConnection(const rtc::SocketAddress& address); | 261   bool FailAndPruneConnection(const rtc::SocketAddress& address); | 
| 262 | 262 | 
|  | 263   // Reconstruct the URL of the server which the candidate is gathered from. | 
|  | 264   std::string ReconstructedServerUrl(); | 
|  | 265 | 
| 263   ProtocolAddress server_address_; | 266   ProtocolAddress server_address_; | 
| 264   TlsCertPolicy tls_cert_policy_ = TlsCertPolicy::TLS_CERT_POLICY_SECURE; | 267   TlsCertPolicy tls_cert_policy_ = TlsCertPolicy::TLS_CERT_POLICY_SECURE; | 
| 265   RelayCredentials credentials_; | 268   RelayCredentials credentials_; | 
| 266   AttemptedServerSet attempted_server_addresses_; | 269   AttemptedServerSet attempted_server_addresses_; | 
| 267 | 270 | 
| 268   rtc::AsyncPacketSocket* socket_; | 271   rtc::AsyncPacketSocket* socket_; | 
| 269   SocketOptionsMap socket_options_; | 272   SocketOptionsMap socket_options_; | 
| 270   rtc::AsyncResolverInterface* resolver_; | 273   rtc::AsyncResolverInterface* resolver_; | 
| 271   int error_; | 274   int error_; | 
| 272 | 275 | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 291   friend class TurnEntry; | 294   friend class TurnEntry; | 
| 292   friend class TurnAllocateRequest; | 295   friend class TurnAllocateRequest; | 
| 293   friend class TurnRefreshRequest; | 296   friend class TurnRefreshRequest; | 
| 294   friend class TurnCreatePermissionRequest; | 297   friend class TurnCreatePermissionRequest; | 
| 295   friend class TurnChannelBindRequest; | 298   friend class TurnChannelBindRequest; | 
| 296 }; | 299 }; | 
| 297 | 300 | 
| 298 }  // namespace cricket | 301 }  // namespace cricket | 
| 299 | 302 | 
| 300 #endif  // WEBRTC_P2P_BASE_TURNPORT_H_ | 303 #endif  // WEBRTC_P2P_BASE_TURNPORT_H_ | 
| OLD | NEW | 
|---|