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

Side by Side Diff: webrtc/base/physicalsocketserver.h

Issue 2866183004: Deleted unused method EstimateMTU, and the WinPing class. (Closed)
Patch Set: Created 3 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/base/natsocketfactory.cc ('k') | webrtc/base/physicalsocketserver.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 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 int RecvFrom(void* buffer, 144 int RecvFrom(void* buffer,
145 size_t length, 145 size_t length,
146 SocketAddress* out_addr, 146 SocketAddress* out_addr,
147 int64_t* timestamp) override; 147 int64_t* timestamp) override;
148 148
149 int Listen(int backlog) override; 149 int Listen(int backlog) override;
150 AsyncSocket* Accept(SocketAddress* out_addr) override; 150 AsyncSocket* Accept(SocketAddress* out_addr) override;
151 151
152 int Close() override; 152 int Close() override;
153 153
154 int EstimateMTU(uint16_t* mtu) override;
155
156 SocketServer* socketserver() { return ss_; } 154 SocketServer* socketserver() { return ss_; }
157 155
158 protected: 156 protected:
159 int DoConnect(const SocketAddress& connect_addr); 157 int DoConnect(const SocketAddress& connect_addr);
160 158
161 // Make virtual so ::accept can be overwritten in tests. 159 // Make virtual so ::accept can be overwritten in tests.
162 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen); 160 virtual SOCKET DoAccept(SOCKET socket, sockaddr* addr, socklen_t* addrlen);
163 161
164 // Make virtual so ::send can be overwritten in tests. 162 // Make virtual so ::send can be overwritten in tests.
165 virtual int DoSend(SOCKET socket, const char* buf, int len, int flags); 163 virtual int DoSend(SOCKET socket, const char* buf, int len, int flags);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 static int next_id_; 218 static int next_id_;
221 int id_; 219 int id_;
222 bool signal_close_; 220 bool signal_close_;
223 int signal_err_; 221 int signal_err_;
224 #endif // WEBRTC_WIN 222 #endif // WEBRTC_WIN
225 }; 223 };
226 224
227 } // namespace rtc 225 } // namespace rtc
228 226
229 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ 227 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__
OLDNEW
« no previous file with comments | « webrtc/base/natsocketfactory.cc ('k') | webrtc/base/physicalsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698