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

Side by Side Diff: webrtc/base/virtualsocketserver.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/socket_unittest.cc ('k') | webrtc/base/virtualsocketserver.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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 SocketAddress* paddr, 304 SocketAddress* paddr,
305 int64_t* timestamp) override; 305 int64_t* timestamp) override;
306 int Listen(int backlog) override; 306 int Listen(int backlog) override;
307 VirtualSocket* Accept(SocketAddress* paddr) override; 307 VirtualSocket* Accept(SocketAddress* paddr) override;
308 308
309 int GetError() const override; 309 int GetError() const override;
310 void SetError(int error) override; 310 void SetError(int error) override;
311 ConnState GetState() const override; 311 ConnState GetState() const override;
312 int GetOption(Option opt, int* value) override; 312 int GetOption(Option opt, int* value) override;
313 int SetOption(Option opt, int value) override; 313 int SetOption(Option opt, int value) override;
314 int EstimateMTU(uint16_t* mtu) override;
315 void OnMessage(Message* pmsg) override; 314 void OnMessage(Message* pmsg) override;
316 315
317 bool was_any() { return was_any_; } 316 bool was_any() { return was_any_; }
318 void set_was_any(bool was_any) { was_any_ = was_any; } 317 void set_was_any(bool was_any) { was_any_ = was_any; }
319 318
320 // For testing purpose only. Fired when client socket is bound to an address. 319 // For testing purpose only. Fired when client socket is bound to an address.
321 sigslot::signal2<VirtualSocket*, const SocketAddress&> SignalAddressReady; 320 sigslot::signal2<VirtualSocket*, const SocketAddress&> SignalAddressReady;
322 321
323 private: 322 private:
324 struct NetworkEntry { 323 struct NetworkEntry {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 385
387 // Store the options that are set 386 // Store the options that are set
388 OptionsMap options_map_; 387 OptionsMap options_map_;
389 388
390 friend class VirtualSocketServer; 389 friend class VirtualSocketServer;
391 }; 390 };
392 391
393 } // namespace rtc 392 } // namespace rtc
394 393
395 #endif // WEBRTC_BASE_VIRTUALSOCKETSERVER_H_ 394 #endif // WEBRTC_BASE_VIRTUALSOCKETSERVER_H_
OLDNEW
« no previous file with comments | « webrtc/base/socket_unittest.cc ('k') | webrtc/base/virtualsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698