| 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_node.h" | 5 #include "nacl_io/mount_node.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
| 11 | 11 |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 146 } |
| 147 | 147 |
| 148 int MountNode::ChildCount() { return 0; } | 148 int MountNode::ChildCount() { return 0; } |
| 149 | 149 |
| 150 void MountNode::Link() { stat_.st_nlink++; } | 150 void MountNode::Link() { stat_.st_nlink++; } |
| 151 | 151 |
| 152 void MountNode::Unlink() { stat_.st_nlink--; } | 152 void MountNode::Unlink() { stat_.st_nlink--; } |
| 153 | 153 |
| 154 } // namespace nacl_io | 154 } // namespace nacl_io |
| 155 | 155 |
| OLD | NEW |