| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2  *  Copyright 2004 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 149   } | 149   } | 
| 150 | 150 | 
| 151   // Set DTLS Remote fingerprint. Must be after local identity set. | 151   // Set DTLS Remote fingerprint. Must be after local identity set. | 
| 152   virtual bool SetRemoteFingerprint( | 152   virtual bool SetRemoteFingerprint( | 
| 153     const std::string& digest_alg, | 153     const std::string& digest_alg, | 
| 154     const uint8* digest, | 154     const uint8* digest, | 
| 155     size_t digest_len) { | 155     size_t digest_len) { | 
| 156     return false; | 156     return false; | 
| 157   } | 157   } | 
| 158 | 158 | 
|  | 159   void SetReceivingTimeout(int timeout) override {} | 
|  | 160 | 
| 159  private: | 161  private: | 
| 160   RawTransport* raw_transport_; | 162   RawTransport* raw_transport_; | 
| 161   rtc::Thread *worker_thread_; | 163   rtc::Thread *worker_thread_; | 
| 162   PortAllocator* allocator_; | 164   PortAllocator* allocator_; | 
| 163   PortAllocatorSession* allocator_session_; | 165   PortAllocatorSession* allocator_session_; | 
| 164   StunPort* stun_port_; | 166   StunPort* stun_port_; | 
| 165   RelayPort* relay_port_; | 167   RelayPort* relay_port_; | 
| 166   PortInterface* port_; | 168   PortInterface* port_; | 
| 167   bool use_relay_; | 169   bool use_relay_; | 
| 168   rtc::SocketAddress remote_address_; | 170   rtc::SocketAddress remote_address_; | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 189   // Handles a message to destroy unused ports. | 191   // Handles a message to destroy unused ports. | 
| 190   virtual void OnMessage(rtc::Message *msg); | 192   virtual void OnMessage(rtc::Message *msg); | 
| 191 | 193 | 
| 192   DISALLOW_COPY_AND_ASSIGN(RawTransportChannel); | 194   DISALLOW_COPY_AND_ASSIGN(RawTransportChannel); | 
| 193 }; | 195 }; | 
| 194 | 196 | 
| 195 }  // namespace cricket | 197 }  // namespace cricket | 
| 196 | 198 | 
| 197 #endif  // defined(FEATURE_ENABLE_PSTN) | 199 #endif  // defined(FEATURE_ENABLE_PSTN) | 
| 198 #endif  // WEBRTC_P2P_BASE_RAWTRANSPORTCHANNEL_H_ | 200 #endif  // WEBRTC_P2P_BASE_RAWTRANSPORTCHANNEL_H_ | 
| OLD | NEW | 
|---|