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

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

Issue 2444793003: Let receiving() and SignalReceivingState be part of rtc::PacketTransportInterface. (Closed)
Patch Set: Fix comment for receiving(). Created 4 years, 1 month 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/transportchannel.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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportchannel.h ('k') | webrtc/p2p/base/transportcontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698