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

Side by Side Diff: webrtc/base/asyncsocket.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/asyncsocket.h ('k') | webrtc/base/asynctcpsocket.cc » ('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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 90
91 void AsyncSocketAdapter::SetError(int error) { 91 void AsyncSocketAdapter::SetError(int error) {
92 return socket_->SetError(error); 92 return socket_->SetError(error);
93 } 93 }
94 94
95 AsyncSocket::ConnState AsyncSocketAdapter::GetState() const { 95 AsyncSocket::ConnState AsyncSocketAdapter::GetState() const {
96 return socket_->GetState(); 96 return socket_->GetState();
97 } 97 }
98 98
99 int AsyncSocketAdapter::EstimateMTU(uint16* mtu) { 99 int AsyncSocketAdapter::EstimateMTU(uint16_t* mtu) {
100 return socket_->EstimateMTU(mtu); 100 return socket_->EstimateMTU(mtu);
101 } 101 }
102 102
103 int AsyncSocketAdapter::GetOption(Option opt, int* value) { 103 int AsyncSocketAdapter::GetOption(Option opt, int* value) {
104 return socket_->GetOption(opt, value); 104 return socket_->GetOption(opt, value);
105 } 105 }
106 106
107 int AsyncSocketAdapter::SetOption(Option opt, int value) { 107 int AsyncSocketAdapter::SetOption(Option opt, int value) {
108 return socket_->SetOption(opt, value); 108 return socket_->SetOption(opt, value);
109 } 109 }
110 110
111 void AsyncSocketAdapter::OnConnectEvent(AsyncSocket* socket) { 111 void AsyncSocketAdapter::OnConnectEvent(AsyncSocket* socket) {
112 SignalConnectEvent(this); 112 SignalConnectEvent(this);
113 } 113 }
114 114
115 void AsyncSocketAdapter::OnReadEvent(AsyncSocket* socket) { 115 void AsyncSocketAdapter::OnReadEvent(AsyncSocket* socket) {
116 SignalReadEvent(this); 116 SignalReadEvent(this);
117 } 117 }
118 118
119 void AsyncSocketAdapter::OnWriteEvent(AsyncSocket* socket) { 119 void AsyncSocketAdapter::OnWriteEvent(AsyncSocket* socket) {
120 SignalWriteEvent(this); 120 SignalWriteEvent(this);
121 } 121 }
122 122
123 void AsyncSocketAdapter::OnCloseEvent(AsyncSocket* socket, int err) { 123 void AsyncSocketAdapter::OnCloseEvent(AsyncSocket* socket, int err) {
124 SignalCloseEvent(this, err); 124 SignalCloseEvent(this, err);
125 } 125 }
126 126
127 } // namespace rtc 127 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/asyncsocket.h ('k') | webrtc/base/asynctcpsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698