OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include "native_client/tests/fake_browser_ppapi/fake_file_ref.h" | 7 #include "native_client/tests/fake_browser_ppapi/fake_file_ref.h" |
8 | 8 |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 | 10 |
11 #include "native_client/src/include/nacl_macros.h" | 11 #include "native_client/src/include/nacl_macros.h" |
12 #include "native_client/src/include/portability.h" | 12 #include "native_client/src/include/portability.h" |
13 #include "native_client/src/shared/ppapi_proxy/utility.h" | |
14 | 13 |
15 #include "native_client/tests/fake_browser_ppapi/fake_resource.h" | 14 #include "native_client/tests/fake_browser_ppapi/fake_resource.h" |
| 15 #include "native_client/tests/fake_browser_ppapi/utility.h" |
16 | 16 |
17 #include "ppapi/c/pp_errors.h" | 17 #include "ppapi/c/pp_errors.h" |
18 #include "ppapi/c/pp_completion_callback.h" | 18 #include "ppapi/c/pp_completion_callback.h" |
19 #include "ppapi/c/pp_resource.h" | 19 #include "ppapi/c/pp_resource.h" |
20 | 20 |
21 using ppapi_proxy::DebugPrintf; | 21 using fake_browser_ppapi::DebugPrintf; |
22 | 22 |
23 namespace fake_browser_ppapi { | 23 namespace fake_browser_ppapi { |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
27 PP_Resource Create(PP_Resource file_system_id, | 27 PP_Resource Create(PP_Resource file_system_id, |
28 const char* path) { | 28 const char* path) { |
29 DebugPrintf("FileRef::Create: file_system_id=%"NACL_PRId64" path=%s\n", | 29 DebugPrintf("FileRef::Create: file_system_id=%"NACL_PRId64" path=%s\n", |
30 file_system_id, path); | 30 file_system_id, path); |
31 NACL_UNIMPLEMENTED(); | 31 NACL_UNIMPLEMENTED(); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 MakeDirectory, | 128 MakeDirectory, |
129 Query, | 129 Query, |
130 Touch, | 130 Touch, |
131 Delete, | 131 Delete, |
132 Rename | 132 Rename |
133 }; | 133 }; |
134 return &file_ref_interface; | 134 return &file_ref_interface; |
135 } | 135 } |
136 | 136 |
137 } // namespace fake_browser_ppapi | 137 } // namespace fake_browser_ppapi |
OLD | NEW |