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

Side by Side Diff: libraries/nacl-mounts/net/TcpServerSocket.h

Issue 10854174: Fixing nacl-mounts breakages. (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « libraries/nacl-mounts/net/SocketSubSystem.h ('k') | libraries/nacl-mounts/net/TcpSocket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_ 5 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_
6 #define PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_ 6 #define PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_
7 7
8 #include <string.h> 8 #include <string.h>
9 #ifndef __GLIBC__ 9 #ifndef __GLIBC__
10 #include "../net/newlib_compat.h" 10 #include "../net/newlib_compat.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void Listen(int32_t result, int backlog, int32_t* pres); 45 void Listen(int32_t result, int backlog, int32_t* pres);
46 void Accept(int32_t result, int32_t* pres); 46 void Accept(int32_t result, int32_t* pres);
47 void OnAccept(int32_t result); 47 void OnAccept(int32_t result);
48 void Close(int32_t result, int32_t* pres); 48 void Close(int32_t result, int32_t* pres);
49 bool CreateNetAddress(const struct sockaddr* saddr, 49 bool CreateNetAddress(const struct sockaddr* saddr,
50 PP_NetAddress_Private* addr); 50 PP_NetAddress_Private* addr);
51 51
52 SocketSubSystem* sys_; 52 SocketSubSystem* sys_;
53 int ref_; 53 int ref_;
54 int oflag_; 54 int oflag_;
55 pp::CompletionCallbackFactory<TCPServerSocket, ThreadSafeRefCount> factory_; 55 pp::CompletionCallbackFactory<TCPServerSocket> factory_;
56 pp::TCPServerSocketPrivate* socket_; 56 pp::TCPServerSocketPrivate* socket_;
57 struct sockaddr_in6 sin6_; 57 struct sockaddr_in6 sin6_;
58 PP_Resource resource_; 58 PP_Resource resource_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(TCPServerSocket); 60 DISALLOW_COPY_AND_ASSIGN(TCPServerSocket);
61 }; 61 };
62 62
63 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_ 63 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_NET_TCP_SERVER_SOCKET_H_
64 64
OLDNEW
« no previous file with comments | « libraries/nacl-mounts/net/SocketSubSystem.h ('k') | libraries/nacl-mounts/net/TcpSocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698