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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount.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_H_ 5 #ifndef LIBRARIES_NACL_IO_MOUNT_H_
6 #define LIBRARIES_NACL_MOUNTS_MOUNT_H_ 6 #define LIBRARIES_NACL_IO_MOUNT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "nacl_mounts/inode_pool.h" 11 #include "nacl_io/inode_pool.h"
12 #include "nacl_mounts/mount_node.h" 12 #include "nacl_io/mount_node.h"
13 #include "nacl_mounts/path.h" 13 #include "nacl_io/path.h"
14 #include "utils/macros.h" 14 #include "utils/macros.h"
15 #include "utils/ref_object.h" 15 #include "utils/ref_object.h"
16 16
17 class MountNode; 17 class MountNode;
18 class PepperInterface; 18 class PepperInterface;
19 19
20 typedef std::map<std::string, std::string> StringMap_t; 20 typedef std::map<std::string, std::string> StringMap_t;
21 21
22 22
23 class Mount : public RefObject { 23 class Mount : public RefObject {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 /*static*/ 82 /*static*/
83 Mount* Mount::Create(int dev, StringMap_t& args, PepperInterface* ppapi) { 83 Mount* Mount::Create(int dev, StringMap_t& args, PepperInterface* ppapi) {
84 Mount* mnt = new M(); 84 Mount* mnt = new M();
85 if (mnt->Init(dev, args, ppapi) == false) { 85 if (mnt->Init(dev, args, ppapi) == false) {
86 delete mnt; 86 delete mnt;
87 return NULL; 87 return NULL;
88 } 88 }
89 return mnt; 89 return mnt;
90 } 90 }
91 91
92 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_H_ 92 #endif // LIBRARIES_NACL_IO_MOUNT_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/library.dsc ('k') | native_client_sdk/src/libraries/nacl_io/mount.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698