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

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

Issue 1414363002: Exposing DTLS transport state from TransportChannel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Renaming, fixing comment. Created 5 years, 2 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 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 25 matching lines...) Expand all
36 LOG_J(LS_VERBOSE, this) << "set_writable from:" << writable_ << " to " 36 LOG_J(LS_VERBOSE, this) << "set_writable from:" << writable_ << " to "
37 << writable; 37 << writable;
38 writable_ = writable; 38 writable_ = writable;
39 if (writable_) { 39 if (writable_) {
40 SignalReadyToSend(this); 40 SignalReadyToSend(this);
41 } 41 }
42 SignalWritableState(this); 42 SignalWritableState(this);
43 } 43 }
44 } 44 }
45 45
46 void TransportChannel::set_dtls_transport_state(DtlsTransportState state) {
47 if (dtls_transport_state_ != state) {
pthatcher1 2015/10/20 20:28:06 Nit: I'd prefer an early return if (dtls_transpor
Taylor Brandstetter 2015/10/21 16:28:16 Done.
48 LOG_J(LS_VERBOSE, this)
49 << "set_dtls_transport_state from:" << dtls_transport_state_ << " to "
50 << state;
51 dtls_transport_state_ = state;
52 SignalDtlsTransportState(this);
53 }
54 }
55
46 } // namespace cricket 56 } // namespace cricket
OLDNEW
« webrtc/p2p/base/transportchannel.h ('K') | « webrtc/p2p/base/transportchannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698