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

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

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/asyncpacketsocket.h ('k') | webrtc/base/asyncsocket.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 int Send(const void* pv, size_t cb) override; 57 int Send(const void* pv, size_t cb) override;
58 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override; 58 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override;
59 int Recv(void* pv, size_t cb) override; 59 int Recv(void* pv, size_t cb) override;
60 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override; 60 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override;
61 int Listen(int backlog) override; 61 int Listen(int backlog) override;
62 AsyncSocket* Accept(SocketAddress* paddr) override; 62 AsyncSocket* Accept(SocketAddress* paddr) override;
63 int Close() override; 63 int Close() override;
64 int GetError() const override; 64 int GetError() const override;
65 void SetError(int error) override; 65 void SetError(int error) override;
66 ConnState GetState() const override; 66 ConnState GetState() const override;
67 int EstimateMTU(uint16* mtu) override; 67 int EstimateMTU(uint16_t* mtu) override;
68 int GetOption(Option opt, int* value) override; 68 int GetOption(Option opt, int* value) override;
69 int SetOption(Option opt, int value) override; 69 int SetOption(Option opt, int value) override;
70 70
71 protected: 71 protected:
72 virtual void OnConnectEvent(AsyncSocket* socket); 72 virtual void OnConnectEvent(AsyncSocket* socket);
73 virtual void OnReadEvent(AsyncSocket* socket); 73 virtual void OnReadEvent(AsyncSocket* socket);
74 virtual void OnWriteEvent(AsyncSocket* socket); 74 virtual void OnWriteEvent(AsyncSocket* socket);
75 virtual void OnCloseEvent(AsyncSocket* socket, int err); 75 virtual void OnCloseEvent(AsyncSocket* socket, int err);
76 76
77 AsyncSocket* socket_; 77 AsyncSocket* socket_;
78 }; 78 };
79 79
80 } // namespace rtc 80 } // namespace rtc
81 81
82 #endif // WEBRTC_BASE_ASYNCSOCKET_H_ 82 #endif // WEBRTC_BASE_ASYNCSOCKET_H_
OLDNEW
« no previous file with comments | « webrtc/base/asyncpacketsocket.h ('k') | webrtc/base/asyncsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698