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

Side by Side Diff: webrtc/api/webrtcsession.h

Issue 1903393004: Added network thread to rtc::BaseChannel (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix flakiness of WebRtcSessionTest.TestPacketOptionsAndOnPacketSent Created 4 years, 7 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/api/statscollector_unittest.cc ('k') | webrtc/api/webrtcsession.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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 458
459 // Invoked when TransportController connection completion is signaled. 459 // Invoked when TransportController connection completion is signaled.
460 // Reports stats for all transports in use. 460 // Reports stats for all transports in use.
461 void ReportTransportStats(); 461 void ReportTransportStats();
462 462
463 // Gather the usage of IPv4/IPv6 as best connection. 463 // Gather the usage of IPv4/IPv6 as best connection.
464 void ReportBestConnectionState(const cricket::TransportStats& stats); 464 void ReportBestConnectionState(const cricket::TransportStats& stats);
465 465
466 void ReportNegotiatedCiphers(const cricket::TransportStats& stats); 466 void ReportNegotiatedCiphers(const cricket::TransportStats& stats);
467 467
468 void OnSentPacket_w(cricket::TransportChannel* channel, 468 void OnSentPacket_w(const rtc::SentPacket& sent_packet);
469 const rtc::SentPacket& sent_packet);
470 469
471 rtc::Thread* const signaling_thread_; 470 rtc::Thread* const signaling_thread_;
472 rtc::Thread* const worker_thread_; 471 rtc::Thread* const worker_thread_;
473 cricket::PortAllocator* const port_allocator_; 472 cricket::PortAllocator* const port_allocator_;
474 473
475 State state_ = STATE_INIT; 474 State state_ = STATE_INIT;
476 Error error_ = ERROR_NONE; 475 Error error_ = ERROR_NONE;
477 std::string error_desc_; 476 std::string error_desc_;
478 477
479 const std::string sid_; 478 const std::string sid_;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 PeerConnectionInterface::BundlePolicy bundle_policy_; 514 PeerConnectionInterface::BundlePolicy bundle_policy_;
516 515
517 // Declares the RTCP mux policy for the WebRTCSession. 516 // Declares the RTCP mux policy for the WebRTCSession.
518 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 517 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
519 518
520 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 519 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
521 }; 520 };
522 } // namespace webrtc 521 } // namespace webrtc
523 522
524 #endif // WEBRTC_API_WEBRTCSESSION_H_ 523 #endif // WEBRTC_API_WEBRTCSESSION_H_
OLDNEW
« no previous file with comments | « webrtc/api/statscollector_unittest.cc ('k') | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698