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

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

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: google::int32 Created 5 years, 3 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool TransportChannelProxy::GetRemoteSSLCertificate( 201 bool TransportChannelProxy::GetRemoteSSLCertificate(
202 rtc::SSLCertificate** cert) const { 202 rtc::SSLCertificate** cert) const {
203 ASSERT(rtc::Thread::Current() == worker_thread_); 203 ASSERT(rtc::Thread::Current() == worker_thread_);
204 if (!impl_) { 204 if (!impl_) {
205 return false; 205 return false;
206 } 206 }
207 return impl_->GetRemoteSSLCertificate(cert); 207 return impl_->GetRemoteSSLCertificate(cert);
208 } 208 }
209 209
210 bool TransportChannelProxy::ExportKeyingMaterial(const std::string& label, 210 bool TransportChannelProxy::ExportKeyingMaterial(const std::string& label,
211 const uint8* context, 211 const uint8_t* context,
212 size_t context_len, 212 size_t context_len,
213 bool use_context, 213 bool use_context,
214 uint8* result, 214 uint8_t* result,
215 size_t result_len) { 215 size_t result_len) {
216 ASSERT(rtc::Thread::Current() == worker_thread_); 216 ASSERT(rtc::Thread::Current() == worker_thread_);
217 if (!impl_) { 217 if (!impl_) {
218 return false; 218 return false;
219 } 219 }
220 return impl_->ExportKeyingMaterial(label, context, context_len, use_context, 220 return impl_->ExportKeyingMaterial(label, context, context_len, use_context,
221 result, result_len); 221 result, result_len);
222 } 222 }
223 223
224 IceRole TransportChannelProxy::GetIceRole() const { 224 IceRole TransportChannelProxy::GetIceRole() const {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 void TransportChannelProxy::OnMessage(rtc::Message* msg) { 267 void TransportChannelProxy::OnMessage(rtc::Message* msg) {
268 ASSERT(rtc::Thread::Current() == worker_thread_); 268 ASSERT(rtc::Thread::Current() == worker_thread_);
269 if (msg->message_id == MSG_UPDATESTATE) { 269 if (msg->message_id == MSG_UPDATESTATE) {
270 // If impl_ is already receiving or writable, push up those signals. 270 // If impl_ is already receiving or writable, push up those signals.
271 set_writable(impl_ ? impl_->writable() : false); 271 set_writable(impl_ ? impl_->writable() : false);
272 set_receiving(impl_ ? impl_->receiving() : false); 272 set_receiving(impl_ ? impl_->receiving() : false);
273 } 273 }
274 } 274 }
275 275
276 } // namespace cricket 276 } // namespace cricket
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698