Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The hromium Authors. All rights reserved. |
|
noelallen1
2013/07/22 18:33:30
Chromium
| |
| 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_mem.h" | 5 #include "nacl_io/mount_mem.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "nacl_io/mount.h" | 12 #include "nacl_io/mount.h" |
| 13 #include "nacl_io/mount_node.h" | 13 #include "nacl_io/mount_node.h" |
| 14 #include "nacl_io/mount_node_dir.h" | 14 #include "nacl_io/mount_node_dir.h" |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 218 return EISDIR; | 218 return EISDIR; |
| 219 | 219 |
| 220 if (remove_dir && child->ChildCount() > 0) | 220 if (remove_dir && child->ChildCount() > 0) |
| 221 return ENOTEMPTY; | 221 return ENOTEMPTY; |
| 222 | 222 |
| 223 return parent->RemoveChild(path.Basename()); | 223 return parent->RemoveChild(path.Basename()); |
| 224 } | 224 } |
| 225 | 225 |
| 226 } // namespace nacl_io | 226 } // namespace nacl_io |
| 227 | 227 |
| OLD | NEW |