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

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

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to browser tester fix. Created 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "nacl_io/ossocket.h"
6 #ifdef PROVIDES_SOCKET_API
7
8 #include <errno.h>
9
10 #include "nacl_io/mount_node_socket.h"
11 #include "nacl_io/mount_socket.h"
12
13 namespace nacl_io {
14
15 MountSocket::MountSocket() {}
16
17 Error MountSocket::Access(const Path& path, int a_mode) { return EACCES; }
18 Error MountSocket::Open(const Path& path,
19 int o_flags,
20 ScopedMountNode* out_node) { return EACCES; }
21
22 Error MountSocket::Unlink(const Path& path) { return EACCES; }
23 Error MountSocket::Mkdir(const Path& path, int permissions) { return EACCES; }
24 Error MountSocket::Rmdir(const Path& path) { return EACCES; }
25 Error MountSocket::Remove(const Path& path) { return EACCES; }
26
27 } // namespace nacl_io
28 #endif // PROVIDES_SOCKET_API
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698