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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/mount_dev.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
(Empty)
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
3 * found in the LICENSE file.
4 */
5 #ifndef LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_
6 #define LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_
7
8 #include "nacl_mounts/mount.h"
9
10 class MountNode;
11
12 class MountDev : public Mount {
13 public:
14 virtual MountNode *Open(const Path& path, int mode);
15
16 virtual int Unlink(const Path& path);
17 virtual int Mkdir(const Path& path, int permissions);
18 virtual int Rmdir(const Path& path);
19 virtual int Remove(const Path& path);
20
21 protected:
22 MountDev();
23
24 virtual bool Init(int dev, StringMap_t& args, PepperInterface* ppapi);
25 virtual void Destroy();
26
27 private:
28 MountNode* root_;
29 MountNode* null_node_;
30 MountNode* zero_node_;
31 MountNode* random_node_;
32 MountNode* console0_node_;
33 MountNode* console1_node_;
34 MountNode* console2_node_;
35 MountNode* console3_node_;
36 MountNode* tty_node_;
37
38 friend class Mount;
39 };
40
41 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/mount.cc ('k') | native_client_sdk/src/libraries/nacl_mounts/mount_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698