| OLD | NEW | 
|---|
| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 157       SignalCandidatesGathered; | 157       SignalCandidatesGathered; | 
| 158 | 158 | 
| 159   sigslot::signal1<const Candidates&> SignalCandidatesRemoved; | 159   sigslot::signal1<const Candidates&> SignalCandidatesRemoved; | 
| 160 | 160 | 
| 161   sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; | 161   sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; | 
| 162 | 162 | 
| 163  protected: | 163  protected: | 
| 164   // TODO(deadbeef): Get rid of these virtual methods. Used by | 164   // TODO(deadbeef): Get rid of these virtual methods. Used by | 
| 165   // FakeTransportController currently, but FakeTransportController shouldn't | 165   // FakeTransportController currently, but FakeTransportController shouldn't | 
| 166   // even be functioning by subclassing TransportController. | 166   // even be functioning by subclassing TransportController. | 
| 167   virtual IceTransportInternal* CreateIceTransportChannel_n( | 167   virtual TransportChannelImpl* CreateIceTransportChannel_n( | 
| 168       const std::string& transport_name, | 168       const std::string& transport_name, | 
| 169       int component); | 169       int component); | 
| 170   virtual TransportChannelImpl* CreateDtlsTransportChannel_n( | 170   virtual TransportChannelImpl* CreateDtlsTransportChannel_n( | 
| 171       const std::string& transport_name, | 171       const std::string& transport_name, | 
| 172       int component, | 172       int component, | 
| 173       IceTransportInternal* ice); | 173       TransportChannelImpl* ice); | 
| 174 | 174 | 
| 175  private: | 175  private: | 
| 176   void OnMessage(rtc::Message* pmsg) override; | 176   void OnMessage(rtc::Message* pmsg) override; | 
| 177 | 177 | 
| 178   class ChannelPair; | 178   class ChannelPair; | 
| 179   typedef rtc::RefCountedObject<ChannelPair> RefCountedChannel; | 179   typedef rtc::RefCountedObject<ChannelPair> RefCountedChannel; | 
| 180 | 180 | 
| 181   // Helper functions to get a channel or transport, or iterator to it (in case | 181   // Helper functions to get a channel or transport, or iterator to it (in case | 
| 182   // it needs to be erased). | 182   // it needs to be erased). | 
| 183   std::vector<RefCountedChannel*>::iterator GetChannelIterator_n( | 183   std::vector<RefCountedChannel*>::iterator GetChannelIterator_n( | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 265   bool quic_ = false; | 265   bool quic_ = false; | 
| 266 | 266 | 
| 267   webrtc::MetricsObserverInterface* metrics_observer_ = nullptr; | 267   webrtc::MetricsObserverInterface* metrics_observer_ = nullptr; | 
| 268 | 268 | 
| 269   RTC_DISALLOW_COPY_AND_ASSIGN(TransportController); | 269   RTC_DISALLOW_COPY_AND_ASSIGN(TransportController); | 
| 270 }; | 270 }; | 
| 271 | 271 | 
| 272 }  // namespace cricket | 272 }  // namespace cricket | 
| 273 | 273 | 
| 274 #endif  // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ | 274 #endif  // WEBRTC_P2P_BASE_TRANSPORTCONTROLLER_H_ | 
| OLD | NEW | 
|---|