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

Side by Side Diff: webrtc/p2p/base/transportchannelimpl.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/transport.cc ('k') | webrtc/p2p/p2p_tests.gypi » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void SetIceCredentials(const std::string& ice_ufrag, 45 virtual void SetIceCredentials(const std::string& ice_ufrag,
46 const std::string& ice_pwd) = 0; 46 const std::string& ice_pwd) = 0;
47 // SetRemoteIceCredentials only need to be implemented by the ICE 47 // SetRemoteIceCredentials only need to be implemented by the ICE
48 // transport channels. Non-ICE transport channels can just ignore. 48 // transport channels. Non-ICE transport channels can just ignore.
49 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag, 49 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag,
50 const std::string& ice_pwd) = 0; 50 const std::string& ice_pwd) = 0;
51 51
52 // SetRemoteIceMode must be implemented only by the ICE transport channels. 52 // SetRemoteIceMode must be implemented only by the ICE transport channels.
53 virtual void SetRemoteIceMode(IceMode mode) = 0; 53 virtual void SetRemoteIceMode(IceMode mode) = 0;
54 54
55 virtual void SetReceivingTimeout(int timeout_ms) = 0;
56
55 // Begins the process of attempting to make a connection to the other client. 57 // Begins the process of attempting to make a connection to the other client.
56 virtual void Connect() = 0; 58 virtual void Connect() = 0;
57 59
58 // Allows an individual channel to request signaling and be notified when it 60 // Allows an individual channel to request signaling and be notified when it
59 // is ready. This is useful if the individual named channels have need to 61 // is ready. This is useful if the individual named channels have need to
60 // send their own transport-info stanzas. 62 // send their own transport-info stanzas.
61 sigslot::signal1<TransportChannelImpl*> SignalRequestSignaling; 63 sigslot::signal1<TransportChannelImpl*> SignalRequestSignaling;
62 virtual void OnSignalingReady() = 0; 64 virtual void OnSignalingReady() = 0;
63 65
64 // Handles sending and receiving of candidates. The Transport 66 // Handles sending and receiving of candidates. The Transport
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // channel decreases. 100 // channel decreases.
99 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved; 101 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved;
100 102
101 private: 103 private:
102 DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); 104 DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl);
103 }; 105 };
104 106
105 } // namespace cricket 107 } // namespace cricket
106 108
107 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ 109 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transport.cc ('k') | webrtc/p2p/p2p_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698