OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 void MaybeStartGathering_n(); | 199 void MaybeStartGathering_n(); |
200 bool AddRemoteCandidates_n(const std::string& transport_name, | 200 bool AddRemoteCandidates_n(const std::string& transport_name, |
201 const Candidates& candidates, | 201 const Candidates& candidates, |
202 std::string* err); | 202 std::string* err); |
203 bool RemoveRemoteCandidates_n(const Candidates& candidates, std::string* err); | 203 bool RemoveRemoteCandidates_n(const Candidates& candidates, std::string* err); |
204 bool ReadyForRemoteCandidates_n(const std::string& transport_name); | 204 bool ReadyForRemoteCandidates_n(const std::string& transport_name); |
205 bool GetStats_n(const std::string& transport_name, TransportStats* stats); | 205 bool GetStats_n(const std::string& transport_name, TransportStats* stats); |
206 | 206 |
207 // Handlers for signals from Transport. | 207 // Handlers for signals from Transport. |
208 void OnChannelWritableState_n(rtc::PacketTransportInterface* transport); | 208 void OnChannelWritableState_n(rtc::PacketTransportInterface* transport); |
209 void OnChannelReceivingState_n(TransportChannel* channel); | 209 void OnChannelReceivingState_n(rtc::PacketTransportInterface* transport); |
210 void OnChannelGatheringState_n(TransportChannelImpl* channel); | 210 void OnChannelGatheringState_n(TransportChannelImpl* channel); |
211 void OnChannelCandidateGathered_n(TransportChannelImpl* channel, | 211 void OnChannelCandidateGathered_n(TransportChannelImpl* channel, |
212 const Candidate& candidate); | 212 const Candidate& candidate); |
213 void OnChannelCandidatesRemoved(const Candidates& candidates); | 213 void OnChannelCandidatesRemoved(const Candidates& candidates); |
214 void OnChannelCandidatesRemoved_n(TransportChannelImpl* channel, | 214 void OnChannelCandidatesRemoved_n(TransportChannelImpl* channel, |
215 const Candidates& candidates); | 215 const Candidates& candidates); |
216 void OnChannelRoleConflict_n(TransportChannelImpl* channel); | 216 void OnChannelRoleConflict_n(TransportChannelImpl* channel); |
217 void OnChannelStateChanged_n(TransportChannelImpl* channel); | 217 void OnChannelStateChanged_n(TransportChannelImpl* channel); |
218 | 218 |
219 void UpdateAggregateStates_n(); | 219 void UpdateAggregateStates_n(); |
(...skipping 24 matching lines...) Expand all Loading... |
244 rtc::AsyncInvoker invoker_; | 244 rtc::AsyncInvoker invoker_; |
245 // True if QUIC is used instead of DTLS. | 245 // True if QUIC is used instead of DTLS. |
246 bool quic_ = false; | 246 bool quic_ = false; |
247 | 247 |
248 webrtc::MetricsObserverInterface* metrics_observer_ = nullptr; | 248 webrtc::MetricsObserverInterface* metrics_observer_ = nullptr; |
249 }; | 249 }; |
250 | 250 |
251 } // namespace cricket | 251 } // namespace cricket |
252 | 252 |
253 #endif // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ | 253 #endif // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ |
OLD | NEW |