Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: webrtc/p2p/base/rawtransportchannel.h

Issue 1231913003: Add methods to set the ICE connection receiving_timeout values. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Address comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698