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

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

Issue 1494373004: Revert "Allow remote fingerprint update during a call" (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years 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/dtlstransportchannel.cc ('k') | webrtc/p2p/base/transportchannel.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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Returns the states of this channel. Each time one of these states changes, 73 // Returns the states of this channel. Each time one of these states changes,
74 // a signal is raised. These states are aggregated by the TransportManager. 74 // a signal is raised. These states are aggregated by the TransportManager.
75 bool writable() const { return writable_; } 75 bool writable() const { return writable_; }
76 bool receiving() const { return receiving_; } 76 bool receiving() const { return receiving_; }
77 DtlsTransportState dtls_state() const { return dtls_state_; } 77 DtlsTransportState dtls_state() const { return dtls_state_; }
78 sigslot::signal1<TransportChannel*> SignalWritableState; 78 sigslot::signal1<TransportChannel*> SignalWritableState;
79 // Emitted when the TransportChannel's ability to send has changed. 79 // Emitted when the TransportChannel's ability to send has changed.
80 sigslot::signal1<TransportChannel*> SignalReadyToSend; 80 sigslot::signal1<TransportChannel*> SignalReadyToSend;
81 sigslot::signal1<TransportChannel*> SignalReceivingState; 81 sigslot::signal1<TransportChannel*> SignalReceivingState;
82 // Emitted whenever DTLS-SRTP is setup which will require setting up a new 82 // Emitted when the DtlsTransportState has changed.
83 // SRTP context. 83 sigslot::signal1<TransportChannel*> SignalDtlsState;
84 sigslot::signal2<TransportChannel*, DtlsTransportState> SignalDtlsState;
85 84
86 // Attempts to send the given packet. The return value is < 0 on failure. 85 // Attempts to send the given packet. The return value is < 0 on failure.
87 // TODO: Remove the default argument once channel code is updated. 86 // TODO: Remove the default argument once channel code is updated.
88 virtual int SendPacket(const char* data, size_t len, 87 virtual int SendPacket(const char* data, size_t len,
89 const rtc::PacketOptions& options, 88 const rtc::PacketOptions& options,
90 int flags = 0) = 0; 89 int flags = 0) = 0;
91 90
92 // Sets a socket option on this channel. Note that not all options are 91 // Sets a socket option on this channel. Note that not all options are
93 // supported by all transport types. 92 // supported by all transport types.
94 virtual int SetOption(rtc::Socket::Option opt, int value) = 0; 93 virtual int SetOption(rtc::Socket::Option opt, int value) = 0;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 bool writable_; 173 bool writable_;
175 bool receiving_; 174 bool receiving_;
176 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW; 175 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW;
177 176
178 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel); 177 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel);
179 }; 178 };
180 179
181 } // namespace cricket 180 } // namespace cricket
182 181
183 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_ 182 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransportchannel.cc ('k') | webrtc/p2p/base/transportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698