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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_stream.cc

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove event friends, rename EventListenerPoll Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium 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 #include "nacl_io/ossocket.h" 5 #include "nacl_io/ossocket.h"
6 #ifdef PROVIDES_SOCKET_API 6 #ifdef PROVIDES_SOCKET_API
7 7
8 #include <errno.h> 8 #include <errno.h>
9 9
10 #include "nacl_io/mount_node_socket.h" 10 #include "nacl_io/mount_node_socket.h"
11 #include "nacl_io/mount_socket.h" 11 #include "nacl_io/mount_stream.h"
12 12
13 namespace nacl_io { 13 namespace nacl_io {
14 14
15 MountSocket::MountSocket() {} 15 MountStream::MountStream() {}
16 16
17 Error MountSocket::Access(const Path& path, int a_mode) { return EACCES; } 17 Error MountStream::Access(const Path& path, int a_mode) { return EACCES; }
18 Error MountSocket::Open(const Path& path, 18 Error MountStream::Open(const Path& path,
19 int o_flags, 19 int o_flags,
20 ScopedMountNode* out_node) { return EACCES; } 20 ScopedMountNode* out_node) { return EACCES; }
21 21
22 Error MountSocket::Unlink(const Path& path) { return EACCES; } 22 Error MountStream::Unlink(const Path& path) { return EACCES; }
23 Error MountSocket::Mkdir(const Path& path, int permissions) { return EACCES; } 23 Error MountStream::Mkdir(const Path& path, int permissions) { return EACCES; }
24 Error MountSocket::Rmdir(const Path& path) { return EACCES; } 24 Error MountStream::Rmdir(const Path& path) { return EACCES; }
25 Error MountSocket::Remove(const Path& path) { return EACCES; } 25 Error MountStream::Remove(const Path& path) { return EACCES; }
26 26
27 } // namespace nacl_io 27 } // namespace nacl_io
28 #endif // PROVIDES_SOCKET_API 28 #endif // PROVIDES_SOCKET_API
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698