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

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

Issue 1996693002: Fire a signal when the transport channel state changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Changed signal name to SignalStateChanged 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/p2p/base/port.cc ('k') | webrtc/p2p/base/transportcontroller.h » ('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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual bool SetRemoteFingerprint(const std::string& digest_alg, 93 virtual bool SetRemoteFingerprint(const std::string& digest_alg,
94 const uint8_t* digest, 94 const uint8_t* digest,
95 size_t digest_len) = 0; 95 size_t digest_len) = 0;
96 96
97 virtual bool SetSslRole(rtc::SSLRole role) = 0; 97 virtual bool SetSslRole(rtc::SSLRole role) = 0;
98 98
99 // Invoked when there is conflict in the ICE role between local and remote 99 // Invoked when there is conflict in the ICE role between local and remote
100 // agents. 100 // agents.
101 sigslot::signal1<TransportChannelImpl*> SignalRoleConflict; 101 sigslot::signal1<TransportChannelImpl*> SignalRoleConflict;
102 102
103 // Emitted whenever the number of connections available to the transport 103 // Emitted whenever the transport channel state changed.
104 // channel decreases. 104 sigslot::signal1<TransportChannelImpl*> SignalStateChanged;
105 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved;
106 105
107 private: 106 private:
108 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); 107 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl);
109 }; 108 };
110 109
111 } // namespace cricket 110 } // namespace cricket
112 111
113 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ 112 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/port.cc ('k') | webrtc/p2p/base/transportcontroller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698