| 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 class MountNodePassthrough : public MountNode { | 9 class MountNodePassthrough : public MountNode { |
| 10 public: | 10 public: |
| 11 explicit MountNodePassthrough(Mount* mount, int real_fd) | 11 explicit MountNodePassthrough(Mount* mount, int real_fd) |
| 12 : MountNode(mount), real_fd_(real_fd) {} | 12 : MountNode(mount), real_fd_(real_fd) {} |
| 13 | 13 |
| 14 protected: | 14 protected: |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 Error MountPassthrough::Rmdir(const Path& path) { | 150 Error MountPassthrough::Rmdir(const Path& path) { |
| 151 return _real_rmdir(path.Join().c_str()); | 151 return _real_rmdir(path.Join().c_str()); |
| 152 } | 152 } |
| 153 | 153 |
| 154 Error MountPassthrough::Remove(const Path& path) { | 154 Error MountPassthrough::Remove(const Path& path) { |
| 155 // Not implemented by NaCl. | 155 // Not implemented by NaCl. |
| 156 return ENOSYS; | 156 return ENOSYS; |
| 157 } | 157 } |
| 158 | 158 |
| OLD | NEW |