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

Unified Diff: libraries/nacl-mounts/net/SocketSubSystem.h

Issue 10556007: changes in memory mount and socket subsystem to port thttpd (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: libraries/nacl-mounts/net/SocketSubSystem.h
===================================================================
--- libraries/nacl-mounts/net/SocketSubSystem.h (revision 598)
+++ libraries/nacl-mounts/net/SocketSubSystem.h (working copy)
@@ -25,7 +25,7 @@
class SocketSubSystem : public BaseSocketSubSystem {
public:
- explicit SocketSubSystem(pp::Instance* instance);
+ SocketSubSystem(pp::Instance* instance);
virtual ~SocketSubSystem();
pp::Instance* instance() { return pp_instance_; }
@@ -39,6 +39,8 @@
int fcntl(Socket* stream, int cmd, va_list ap);
int ioctl(Socket* stream, int request, va_list ap);
+ int setsockopt(Socket* stream, int level, int optname,
+ const void* optval, socklen_t optlen);
uint32_t gethostbyname(const char* name);
int connect(Socket** stream, const sockaddr* serv_addr, socklen_t addrlen);

Powered by Google App Engine
This is Rietveld 408576698