OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |