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

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

Issue 1996693002: Fire a signal when the transport channel state changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Changed signal name to SignalStateChanged Created 4 years, 6 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/transportchannelimpl.h ('k') | webrtc/p2p/base/transportcontroller.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 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
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
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_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportchannelimpl.h ('k') | webrtc/p2p/base/transportcontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698