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

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

Issue 1263663002: Remove GICE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: merge Created 5 years, 4 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_unittest.cc ('k') | webrtc/p2p/base/transportdescription.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 18 matching lines...) Expand all
29 explicit TransportChannelImpl(const std::string& content_name, int component) 29 explicit TransportChannelImpl(const std::string& content_name, int component)
30 : TransportChannel(content_name, component) {} 30 : TransportChannel(content_name, component) {}
31 31
32 // Returns the transport that created this channel. 32 // Returns the transport that created this channel.
33 virtual Transport* GetTransport() = 0; 33 virtual Transport* GetTransport() = 0;
34 34
35 // For ICE channels. 35 // For ICE channels.
36 virtual IceRole GetIceRole() const = 0; 36 virtual IceRole GetIceRole() const = 0;
37 virtual void SetIceRole(IceRole role) = 0; 37 virtual void SetIceRole(IceRole role) = 0;
38 virtual void SetIceTiebreaker(uint64 tiebreaker) = 0; 38 virtual void SetIceTiebreaker(uint64 tiebreaker) = 0;
39 // To toggle G-ICE/ICE.
40 virtual bool GetIceProtocolType(IceProtocolType* type) const = 0;
41 virtual void SetIceProtocolType(IceProtocolType type) = 0;
42 // SetIceCredentials only need to be implemented by the ICE 39 // SetIceCredentials only need to be implemented by the ICE
43 // transport channels. Non-ICE transport channels can just ignore. 40 // transport channels. Non-ICE transport channels can just ignore.
44 // The ufrag and pwd should be set before the Connect() is called. 41 // The ufrag and pwd should be set before the Connect() is called.
45 virtual void SetIceCredentials(const std::string& ice_ufrag, 42 virtual void SetIceCredentials(const std::string& ice_ufrag,
46 const std::string& ice_pwd) = 0; 43 const std::string& ice_pwd) = 0;
47 // SetRemoteIceCredentials only need to be implemented by the ICE 44 // SetRemoteIceCredentials only need to be implemented by the ICE
48 // transport channels. Non-ICE transport channels can just ignore. 45 // transport channels. Non-ICE transport channels can just ignore.
49 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag, 46 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag,
50 const std::string& ice_pwd) = 0; 47 const std::string& ice_pwd) = 0;
51 48
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // channel decreases. 97 // channel decreases.
101 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved; 98 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved;
102 99
103 private: 100 private:
104 DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); 101 DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl);
105 }; 102 };
106 103
107 } // namespace cricket 104 } // namespace cricket
108 105
109 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ 106 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transport_unittest.cc ('k') | webrtc/p2p/base/transportdescription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698