| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // Handlers for signals from Transport. | 191 // Handlers for signals from Transport. |
| 192 void OnChannelWritableState_n(TransportChannel* channel); | 192 void OnChannelWritableState_n(TransportChannel* channel); |
| 193 void OnChannelReceivingState_n(TransportChannel* channel); | 193 void OnChannelReceivingState_n(TransportChannel* channel); |
| 194 void OnChannelGatheringState_n(TransportChannelImpl* channel); | 194 void OnChannelGatheringState_n(TransportChannelImpl* channel); |
| 195 void OnChannelCandidateGathered_n(TransportChannelImpl* channel, | 195 void OnChannelCandidateGathered_n(TransportChannelImpl* channel, |
| 196 const Candidate& candidate); | 196 const Candidate& candidate); |
| 197 void OnChannelCandidatesRemoved(const Candidates& candidates); | 197 void OnChannelCandidatesRemoved(const Candidates& candidates); |
| 198 void OnChannelCandidatesRemoved_n(TransportChannelImpl* channel, | 198 void OnChannelCandidatesRemoved_n(TransportChannelImpl* channel, |
| 199 const Candidates& candidates); | 199 const Candidates& candidates); |
| 200 void OnChannelRoleConflict_n(TransportChannelImpl* channel); | 200 void OnChannelRoleConflict_n(TransportChannelImpl* channel); |
| 201 void OnChannelConnectionRemoved_n(TransportChannelImpl* channel); | 201 void OnChannelStateChanged_n(TransportChannelImpl* channel); |
| 202 | 202 |
| 203 void UpdateAggregateStates_n(); | 203 void UpdateAggregateStates_n(); |
| 204 | 204 |
| 205 rtc::Thread* const signaling_thread_ = nullptr; | 205 rtc::Thread* const signaling_thread_ = nullptr; |
| 206 rtc::Thread* const network_thread_ = nullptr; | 206 rtc::Thread* const network_thread_ = nullptr; |
| 207 typedef std::map<std::string, Transport*> TransportMap; | 207 typedef std::map<std::string, Transport*> TransportMap; |
| 208 TransportMap transports_; | 208 TransportMap transports_; |
| 209 | 209 |
| 210 std::vector<RefCountedChannel> channels_; | 210 std::vector<RefCountedChannel> channels_; |
| 211 | 211 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 225 uint64_t ice_tiebreaker_ = rtc::CreateRandomId64(); | 225 uint64_t ice_tiebreaker_ = rtc::CreateRandomId64(); |
| 226 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; | 226 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
| 227 rtc::AsyncInvoker invoker_; | 227 rtc::AsyncInvoker invoker_; |
| 228 // True if QUIC is used instead of DTLS. | 228 // True if QUIC is used instead of DTLS. |
| 229 bool quic_ = false; | 229 bool quic_ = false; |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace cricket | 232 } // namespace cricket |
| 233 | 233 |
| 234 #endif // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ | 234 #endif // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ |
| OLD | NEW |