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

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

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… 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
« no previous file with comments | « webrtc/p2p/base/transport.h ('k') | webrtc/p2p/base/transportchannelimpl.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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Gets the local RTCCertificate used for DTLS. 118 // Gets the local RTCCertificate used for DTLS.
119 virtual rtc::scoped_refptr<rtc::RTCCertificate> 119 virtual rtc::scoped_refptr<rtc::RTCCertificate>
120 GetLocalCertificate() const = 0; 120 GetLocalCertificate() const = 0;
121 121
122 // Gets a copy of the remote side's SSL certificate, owned by the caller. 122 // Gets a copy of the remote side's SSL certificate, owned by the caller.
123 virtual bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const = 0; 123 virtual bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const = 0;
124 124
125 // Allows key material to be extracted for external encryption. 125 // Allows key material to be extracted for external encryption.
126 virtual bool ExportKeyingMaterial(const std::string& label, 126 virtual bool ExportKeyingMaterial(const std::string& label,
127 const uint8* context, 127 const uint8_t* context,
128 size_t context_len, 128 size_t context_len,
129 bool use_context, 129 bool use_context,
130 uint8* result, 130 uint8_t* result,
131 size_t result_len) = 0; 131 size_t result_len) = 0;
132 132
133 // Signalled each time a packet is received on this channel. 133 // Signalled each time a packet is received on this channel.
134 sigslot::signal5<TransportChannel*, const char*, 134 sigslot::signal5<TransportChannel*, const char*,
135 size_t, const rtc::PacketTime&, int> SignalReadPacket; 135 size_t, const rtc::PacketTime&, int> SignalReadPacket;
136 136
137 // This signal occurs when there is a change in the way that packets are 137 // This signal occurs when there is a change in the way that packets are
138 // being routed, i.e. to a different remote location. The candidate 138 // being routed, i.e. to a different remote location. The candidate
139 // indicates where and how we are currently sending media. 139 // indicates where and how we are currently sending media.
140 sigslot::signal2<TransportChannel*, const Candidate&> SignalRouteChange; 140 sigslot::signal2<TransportChannel*, const Candidate&> SignalRouteChange;
141 141
(...skipping 19 matching lines...) Expand all
161 int component_; 161 int component_;
162 bool writable_; 162 bool writable_;
163 bool receiving_; 163 bool receiving_;
164 164
165 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel); 165 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel);
166 }; 166 };
167 167
168 } // namespace cricket 168 } // namespace cricket
169 169
170 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_ 170 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transport.h ('k') | webrtc/p2p/base/transportchannelimpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698