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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/nacl_io.h

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 #ifndef LIBRARIES_NACL_IO_NACL_IO_H_ 5 #ifndef LIBRARIES_NACL_IO_NACL_IO_H_
6 #define LIBRARIES_NACL_IO_NACL_IO_H_ 6 #define LIBRARIES_NACL_IO_NACL_IO_H_
7 7
8 #include <ppapi/c/pp_instance.h> 8 #include <ppapi/c/pp_instance.h>
9 #include <ppapi/c/ppb.h> 9 #include <ppapi/c/ppb.h>
10 10
11 #include "nacl_io/kernel_wrap.h" 11 #include "nacl_io/kernel_wrap.h"
12 #include "utils/macros.h" 12 #include "sdk_util/macros.h"
13 13
14 EXTERN_C_BEGIN 14 EXTERN_C_BEGIN
15 15
16 16
17 /** Initialize nacl_io. 17 /** Initialize nacl_io.
18 * 18 *
19 * NOTE: If you initialize nacl_io with this constructor, you cannot 19 * NOTE: If you initialize nacl_io with this constructor, you cannot
20 * use any mounts that require PPAPI; e.g. persistent storage, etc. 20 * use any mounts that require PPAPI; e.g. persistent storage, etc.
21 */ 21 */
22 void nacl_io_init(); 22 void nacl_io_init();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 * @param[in] mountflags Unused. 108 * @param[in] mountflags Unused.
109 * @param[in] data Depends on the filesystem type. See above. 109 * @param[in] data Depends on the filesystem type. See above.
110 * @return 0 on success, -1 on failure (with errno set). 110 * @return 0 on success, -1 on failure (with errno set).
111 */ 111 */
112 int mount(const char* source, const char* target, const char* filesystemtype, 112 int mount(const char* source, const char* target, const char* filesystemtype,
113 unsigned long mountflags, const void *data) NOTHROW; 113 unsigned long mountflags, const void *data) NOTHROW;
114 114
115 EXTERN_C_END 115 EXTERN_C_END
116 116
117 #endif // LIBRARIES_NACL_IO_NACL_IO_H_ 117 #endif // LIBRARIES_NACL_IO_NACL_IO_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_node_mem.cc ('k') | native_client_sdk/src/libraries/nacl_io/nacl_mounts.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698