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

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

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 #ifndef LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_H_ 5 #ifndef LIBRARIES_NACL_IO_MOUNT_HTML5FS_H_
6 #define LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_H_ 6 #define LIBRARIES_NACL_IO_MOUNT_HTML5FS_H_
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include "nacl_mounts/mount.h" 9 #include "nacl_io/mount.h"
10 #include "nacl_mounts/pepper_interface.h" 10 #include "nacl_io/pepper_interface.h"
11 11
12 class MountNode; 12 class MountNode;
13 13
14 class MountHtml5Fs: public Mount { 14 class MountHtml5Fs: public Mount {
15 public: 15 public:
16 virtual MountNode *Open(const Path& path, int mode); 16 virtual MountNode *Open(const Path& path, int mode);
17 virtual int Unlink(const Path& path); 17 virtual int Unlink(const Path& path);
18 virtual int Mkdir(const Path& path, int permissions); 18 virtual int Mkdir(const Path& path, int permissions);
19 virtual int Rmdir(const Path& path); 19 virtual int Rmdir(const Path& path);
20 virtual int Remove(const Path& path); 20 virtual int Remove(const Path& path);
(...skipping 11 matching lines...) Expand all
32 private: 32 private:
33 static void FilesystemOpenCallbackThunk(void* user_data, int32_t result); 33 static void FilesystemOpenCallbackThunk(void* user_data, int32_t result);
34 void FilesystemOpenCallback(int32_t result); 34 void FilesystemOpenCallback(int32_t result);
35 35
36 PP_Resource filesystem_resource_; 36 PP_Resource filesystem_resource_;
37 bool filesystem_open_; // protected by lock_. 37 bool filesystem_open_; // protected by lock_.
38 38
39 friend class Mount; 39 friend class Mount;
40 }; 40 };
41 41
42 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_HTML5FS_H_ 42 #endif // LIBRARIES_NACL_IO_MOUNT_HTML5FS_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_dev.cc ('k') | native_client_sdk/src/libraries/nacl_io/mount_html5fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698