| OLD | NEW | 
|---|
| 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 | 
| OLD | NEW | 
|---|