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

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

Issue 1944683002: Read recv timestamps from socket (posix only). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix win build. Created 4 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
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ConnState GetState() const override; 136 ConnState GetState() const override;
137 137
138 int GetOption(Option opt, int* value) override; 138 int GetOption(Option opt, int* value) override;
139 int SetOption(Option opt, int value) override; 139 int SetOption(Option opt, int value) override;
140 140
141 int Send(const void* pv, size_t cb) override; 141 int Send(const void* pv, size_t cb) override;
142 int SendTo(const void* buffer, 142 int SendTo(const void* buffer,
143 size_t length, 143 size_t length,
144 const SocketAddress& addr) override; 144 const SocketAddress& addr) override;
145 145
146 int Recv(void* buffer, size_t length) override; 146 int Recv(void* buffer, size_t length, int64_t* timestamp) override;
147 int RecvFrom(void* buffer, size_t length, SocketAddress* out_addr) override; 147 int RecvFrom(void* buffer,
148 size_t length,
149 SocketAddress* out_addr,
150 int64_t* timestamp) override;
148 151
149 int Listen(int backlog) override; 152 int Listen(int backlog) override;
150 AsyncSocket* Accept(SocketAddress* out_addr) override; 153 AsyncSocket* Accept(SocketAddress* out_addr) override;
151 154
152 int Close() override; 155 int Close() override;
153 156
154 int EstimateMTU(uint16_t* mtu) override; 157 int EstimateMTU(uint16_t* mtu) override;
155 158
156 SocketServer* socketserver() { return ss_; } 159 SocketServer* socketserver() { return ss_; }
157 160
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 static int next_id_; 223 static int next_id_;
221 int id_; 224 int id_;
222 bool signal_close_; 225 bool signal_close_;
223 int signal_err_; 226 int signal_err_;
224 #endif // WEBRTC_WIN 227 #endif // WEBRTC_WIN
225 }; 228 };
226 229
227 } // namespace rtc 230 } // namespace rtc
228 231
229 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ 232 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698