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

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

Issue 2614263002: Remove BaseChannel's dependency on TransportController. (Closed)
Patch Set: Fix the channel_unittests Created 3 years, 11 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
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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 void ReportBestConnectionState(const cricket::TransportStats& stats); 517 void ReportBestConnectionState(const cricket::TransportStats& stats);
518 518
519 void ReportNegotiatedCiphers(const cricket::TransportStats& stats); 519 void ReportNegotiatedCiphers(const cricket::TransportStats& stats);
520 520
521 void OnSentPacket_w(const rtc::SentPacket& sent_packet); 521 void OnSentPacket_w(const rtc::SentPacket& sent_packet);
522 522
523 const std::string GetTransportName(const std::string& content_name); 523 const std::string GetTransportName(const std::string& content_name);
524 524
525 void OnDtlsHandshakeError(rtc::SSLHandshakeError error); 525 void OnDtlsHandshakeError(rtc::SSLHandshakeError error);
526 526
527 void OnDestroyTransport(const std::string& transport_name, int component);
528
527 rtc::Thread* const network_thread_; 529 rtc::Thread* const network_thread_;
528 rtc::Thread* const worker_thread_; 530 rtc::Thread* const worker_thread_;
529 rtc::Thread* const signaling_thread_; 531 rtc::Thread* const signaling_thread_;
530 532
531 State state_ = STATE_INIT; 533 State state_ = STATE_INIT;
532 Error error_ = ERROR_NONE; 534 Error error_ = ERROR_NONE;
533 std::string error_desc_; 535 std::string error_desc_;
534 536
535 const std::string sid_; 537 const std::string sid_;
536 bool initial_offerer_ = false; 538 bool initial_offerer_ = false;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 584
583 #ifdef HAVE_QUIC 585 #ifdef HAVE_QUIC
584 std::unique_ptr<QuicDataTransport> quic_data_transport_; 586 std::unique_ptr<QuicDataTransport> quic_data_transport_;
585 #endif // HAVE_QUIC 587 #endif // HAVE_QUIC
586 588
587 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 589 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
588 }; 590 };
589 } // namespace webrtc 591 } // namespace webrtc
590 592
591 #endif // WEBRTC_API_WEBRTCSESSION_H_ 593 #endif // WEBRTC_API_WEBRTCSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698