| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mount_passthrough.h" | 5 #include "nacl_io/mount_passthrough.h" |
| 6 #include <errno.h> | 6 #include <errno.h> |
| 7 #include "nacl_io/kernel_wrap_real.h" | 7 #include "nacl_io/kernel_wrap_real.h" |
| 8 | 8 |
| 9 namespace nacl_io { | 9 namespace nacl_io { |
| 10 | 10 |
| 11 class MountNodePassthrough : public MountNode { | 11 class MountNodePassthrough : public MountNode { |
| 12 public: | 12 public: |
| 13 explicit MountNodePassthrough(Mount* mount, int real_fd) | 13 explicit MountNodePassthrough(Mount* mount, int real_fd) |
| 14 : MountNode(mount), real_fd_(real_fd) {} | 14 : MountNode(mount), real_fd_(real_fd) {} |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 return _real_rmdir(path.Join().c_str()); | 153 return _real_rmdir(path.Join().c_str()); |
| 154 } | 154 } |
| 155 | 155 |
| 156 Error MountPassthrough::Remove(const Path& path) { | 156 Error MountPassthrough::Remove(const Path& path) { |
| 157 // Not implemented by NaCl. | 157 // Not implemented by NaCl. |
| 158 return ENOSYS; | 158 return ENOSYS; |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace nacl_io | 161 } // namespace nacl_io |
| 162 | 162 |
| OLD | NEW |