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

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

Issue 1308753003: Revert "Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: try to solve a failure 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/p2ptransport.cc ('k') | webrtc/p2p/base/p2ptransportchannel.cc » ('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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 P2PTransport* transport, 56 P2PTransport* transport,
57 PortAllocator *allocator); 57 PortAllocator *allocator);
58 virtual ~P2PTransportChannel(); 58 virtual ~P2PTransportChannel();
59 59
60 // From TransportChannelImpl: 60 // From TransportChannelImpl:
61 virtual Transport* GetTransport() { return transport_; } 61 virtual Transport* GetTransport() { return transport_; }
62 virtual TransportChannelState GetState() const; 62 virtual TransportChannelState GetState() const;
63 virtual void SetIceRole(IceRole role); 63 virtual void SetIceRole(IceRole role);
64 virtual IceRole GetIceRole() const { return ice_role_; } 64 virtual IceRole GetIceRole() const { return ice_role_; }
65 virtual void SetIceTiebreaker(uint64 tiebreaker); 65 virtual void SetIceTiebreaker(uint64 tiebreaker);
66 virtual bool GetIceProtocolType(IceProtocolType* type) const;
67 virtual void SetIceProtocolType(IceProtocolType type);
66 virtual void SetIceCredentials(const std::string& ice_ufrag, 68 virtual void SetIceCredentials(const std::string& ice_ufrag,
67 const std::string& ice_pwd); 69 const std::string& ice_pwd);
68 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag, 70 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag,
69 const std::string& ice_pwd); 71 const std::string& ice_pwd);
70 virtual void SetRemoteIceMode(IceMode mode); 72 virtual void SetRemoteIceMode(IceMode mode);
71 virtual void Connect(); 73 virtual void Connect();
72 virtual void OnSignalingReady(); 74 virtual void OnSignalingReady();
73 virtual void OnCandidate(const Candidate& candidate); 75 virtual void OnCandidate(const Candidate& candidate);
74 // Sets the receiving timeout in milliseconds. 76 // Sets the receiving timeout in milliseconds.
75 // This also sets the check_receiving_delay proportionally. 77 // This also sets the check_receiving_delay proportionally.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 Connection* pending_best_connection_; 239 Connection* pending_best_connection_;
238 std::vector<RemoteCandidate> remote_candidates_; 240 std::vector<RemoteCandidate> remote_candidates_;
239 bool sort_dirty_; // indicates whether another sort is needed right now 241 bool sort_dirty_; // indicates whether another sort is needed right now
240 bool was_writable_; 242 bool was_writable_;
241 typedef std::map<rtc::Socket::Option, int> OptionMap; 243 typedef std::map<rtc::Socket::Option, int> OptionMap;
242 OptionMap options_; 244 OptionMap options_;
243 std::string ice_ufrag_; 245 std::string ice_ufrag_;
244 std::string ice_pwd_; 246 std::string ice_pwd_;
245 std::string remote_ice_ufrag_; 247 std::string remote_ice_ufrag_;
246 std::string remote_ice_pwd_; 248 std::string remote_ice_pwd_;
249 IceProtocolType protocol_type_;
247 IceMode remote_ice_mode_; 250 IceMode remote_ice_mode_;
248 IceRole ice_role_; 251 IceRole ice_role_;
249 uint64 tiebreaker_; 252 uint64 tiebreaker_;
250 uint32 remote_candidate_generation_; 253 uint32 remote_candidate_generation_;
251 254
252 int check_receiving_delay_; 255 int check_receiving_delay_;
253 int receiving_timeout_; 256 int receiving_timeout_;
254 257
255 DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 258 DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
256 }; 259 };
257 260
258 } // namespace cricket 261 } // namespace cricket
259 262
260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 263 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2ptransport.cc ('k') | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698