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

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

Issue 414993002: [NaCl SDK] nacl_io: Remove duplication between passthroughfs and devfs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PASSTHROUGHFS_PASSTHROUGH_FS_H_ 5 #ifndef LIBRARIES_NACL_IO_PASSTHROUGHFS_PASSTHROUGH_FS_H_
6
7 #define LIBRARIES_NACL_IO_PASSTHROUGHFS_PASSTHROUGH_FS_H_ 6 #define LIBRARIES_NACL_IO_PASSTHROUGHFS_PASSTHROUGH_FS_H_
8 7
9 #include "nacl_io/filesystem.h" 8 #include "nacl_io/filesystem.h"
10 #include "nacl_io/typed_fs_factory.h" 9 #include "nacl_io/typed_fs_factory.h"
11 10
12 namespace nacl_io { 11 namespace nacl_io {
13 12
14 class PassthroughFs : public Filesystem { 13 class PassthroughFs : public Filesystem {
15 protected: 14 protected:
16 PassthroughFs(); 15 PassthroughFs();
(...skipping 12 matching lines...) Expand all
29 virtual Error Rename(const Path& path, const Path& newpath); 28 virtual Error Rename(const Path& path, const Path& newpath);
30 29
31 private: 30 private:
32 friend class TypedFsFactory<PassthroughFs>; 31 friend class TypedFsFactory<PassthroughFs>;
33 DISALLOW_COPY_AND_ASSIGN(PassthroughFs); 32 DISALLOW_COPY_AND_ASSIGN(PassthroughFs);
34 }; 33 };
35 34
36 } // namespace nacl_io 35 } // namespace nacl_io
37 36
38 #endif // LIBRARIES_NACL_IO_PASSTHROUGHFS_PASSTHROUGH_FS_H_ 37 #endif // LIBRARIES_NACL_IO_PASSTHROUGHFS_PASSTHROUGH_FS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698