Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_mem.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The hromium Authors. All rights reserved. 1 // Copyright (c) 2012 The hromium 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_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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 if (file_only && child->IsaDir()) 215 if (file_only && child->IsaDir())
216 return EISDIR; 216 return EISDIR;
217 217
218 if (remove_dir && child->ChildCount() > 0) 218 if (remove_dir && child->ChildCount() > 0)
219 return ENOTEMPTY; 219 return ENOTEMPTY;
220 220
221 return parent->RemoveChild(path.Basename()); 221 return parent->RemoveChild(path.Basename());
222 } 222 }
223 223
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698