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

Side by Side Diff: webrtc/base/macasyncsocket.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: 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/base/macasyncsocket.h ('k') | webrtc/base/maccocoasocketserver_unittest.mm » ('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 2010 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2010 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 resolver_->Destroy(false); 269 resolver_->Destroy(false);
270 resolver_ = NULL; 270 resolver_ = NULL;
271 } 271 }
272 272
273 native_socket_ = INVALID_SOCKET; // invalidates the socket 273 native_socket_ = INVALID_SOCKET; // invalidates the socket
274 error_ = 0; 274 error_ = 0;
275 state_ = CS_CLOSED; 275 state_ = CS_CLOSED;
276 return 0; 276 return 0;
277 } 277 }
278 278
279 int MacAsyncSocket::EstimateMTU(uint16* mtu) { 279 int MacAsyncSocket::EstimateMTU(uint16_t* mtu) {
280 ASSERT(false && "NYI"); 280 ASSERT(false && "NYI");
281 return -1; 281 return -1;
282 } 282 }
283 283
284 int MacAsyncSocket::GetError() const { 284 int MacAsyncSocket::GetError() const {
285 return error_; 285 return error_;
286 } 286 }
287 287
288 void MacAsyncSocket::SetError(int error) { 288 void MacAsyncSocket::SetError(int error) {
289 error_ = error; 289 error_ = error;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 this_socket->current_callbacks_ &= ~kCFSocketWriteCallBack; 468 this_socket->current_callbacks_ &= ~kCFSocketWriteCallBack;
469 this_socket->SignalWriteEvent(this_socket); 469 this_socket->SignalWriteEvent(this_socket);
470 break; 470 break;
471 471
472 default: 472 default:
473 ASSERT(false && "Invalid callback type for socket"); 473 ASSERT(false && "Invalid callback type for socket");
474 } 474 }
475 } 475 }
476 476
477 } // namespace rtc 477 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/macasyncsocket.h ('k') | webrtc/base/maccocoasocketserver_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698