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

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

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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 <errno.h> 5 #include <errno.h>
6 #include "nacl_mounts/kernel_intercept.h" 6 #include "nacl_io/kernel_intercept.h"
7 #include "nacl_mounts/kernel_proxy.h" 7 #include "nacl_io/kernel_proxy.h"
8 #include "nacl_mounts/kernel_wrap.h" 8 #include "nacl_io/kernel_wrap.h"
9 #include "nacl_mounts/pepper_interface.h" 9 #include "nacl_io/pepper_interface.h"
10 #include "nacl_mounts/pepper_interface.h" 10 #include "nacl_io/pepper_interface.h"
11 #include "nacl_mounts/real_pepper_interface.h" 11 #include "nacl_io/real_pepper_interface.h"
12 12
13 13
14 static KernelProxy* s_kp; 14 static KernelProxy* s_kp;
15 15
16 void ki_init(void* kp) { 16 void ki_init(void* kp) {
17 ki_init_ppapi(kp, 0, NULL); 17 ki_init_ppapi(kp, 0, NULL);
18 } 18 }
19 19
20 void ki_init_ppapi(void* kp, 20 void ki_init_ppapi(void* kp,
21 PP_Instance instance, 21 PP_Instance instance,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 return s_kp->access(path, amode); 148 return s_kp->access(path, amode);
149 } 149 }
150 150
151 int ki_link(const char* oldpath, const char* newpath) { 151 int ki_link(const char* oldpath, const char* newpath) {
152 return s_kp->link(oldpath, newpath); 152 return s_kp->link(oldpath, newpath);
153 } 153 }
154 154
155 int ki_symlink(const char* oldpath, const char* newpath) { 155 int ki_symlink(const char* oldpath, const char* newpath) {
156 return s_kp->symlink(oldpath, newpath); 156 return s_kp->symlink(oldpath, newpath);
157 } 157 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_intercept.h ('k') | native_client_sdk/src/libraries/nacl_io/kernel_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698