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

Side by Side Diff: webrtc/pc/channel.h

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing one more place where RTC_FROM_HERE wasn't used. 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/pc/audiomonitor.cc ('k') | webrtc/pc/channel.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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 void OnMessage(rtc::Message* pmsg) override; 301 void OnMessage(rtc::Message* pmsg) override;
302 302
303 // Handled in derived classes 303 // Handled in derived classes
304 // Get the SRTP crypto suites to use for RTP media 304 // Get the SRTP crypto suites to use for RTP media
305 virtual void GetSrtpCryptoSuites_n(std::vector<int>* crypto_suites) const = 0; 305 virtual void GetSrtpCryptoSuites_n(std::vector<int>* crypto_suites) const = 0;
306 virtual void OnConnectionMonitorUpdate(ConnectionMonitor* monitor, 306 virtual void OnConnectionMonitorUpdate(ConnectionMonitor* monitor,
307 const std::vector<ConnectionInfo>& infos) = 0; 307 const std::vector<ConnectionInfo>& infos) = 0;
308 308
309 // Helper function for invoking bool-returning methods on the worker thread. 309 // Helper function for invoking bool-returning methods on the worker thread.
310 template <class FunctorT> 310 template <class FunctorT>
311 bool InvokeOnWorker(const FunctorT& functor) { 311 bool InvokeOnWorker(const rtc::Location& posted_from,
312 return worker_thread_->Invoke<bool>(functor); 312 const FunctorT& functor) {
313 return worker_thread_->Invoke<bool>(posted_from, functor);
313 } 314 }
314 315
315 private: 316 private:
316 bool InitNetwork_n(const std::string* bundle_transport_name); 317 bool InitNetwork_n(const std::string* bundle_transport_name);
317 void DisconnectTransportChannels_n(); 318 void DisconnectTransportChannels_n();
318 void DestroyTransportChannels_n(); 319 void DestroyTransportChannels_n();
319 void SignalSentPacket_n(TransportChannel* channel, 320 void SignalSentPacket_n(TransportChannel* channel,
320 const rtc::SentPacket& sent_packet); 321 const rtc::SentPacket& sent_packet);
321 void SignalSentPacket_w(const rtc::SentPacket& sent_packet); 322 void SignalSentPacket_w(const rtc::SentPacket& sent_packet);
322 bool IsTransportReadyToSend_n() const; 323 bool IsTransportReadyToSend_n() const;
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 // SetSendParameters. 676 // SetSendParameters.
676 DataSendParameters last_send_params_; 677 DataSendParameters last_send_params_;
677 // Last DataRecvParameters sent down to the media_channel() via 678 // Last DataRecvParameters sent down to the media_channel() via
678 // SetRecvParameters. 679 // SetRecvParameters.
679 DataRecvParameters last_recv_params_; 680 DataRecvParameters last_recv_params_;
680 }; 681 };
681 682
682 } // namespace cricket 683 } // namespace cricket
683 684
684 #endif // WEBRTC_PC_CHANNEL_H_ 685 #endif // WEBRTC_PC_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/pc/audiomonitor.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698