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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_passthrough.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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698