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_FS_FACTORY_H_ | 5 #ifndef LIBRARIES_NACL_IO_FS_FACTORY_H_ |
6 #define LIBRARIES_NACL_IO_FS_FACTORY_H_ | 6 #define LIBRARIES_NACL_IO_FS_FACTORY_H_ |
7 | 7 |
8 #include <errno.h> | 8 #include <errno.h> |
9 | 9 |
10 #include "nacl_io/error.h" | 10 #include "nacl_io/error.h" |
11 #include "nacl_io/filesystem.h" | 11 #include "nacl_io/filesystem.h" |
12 #include "sdk_util/scoped_ref.h" | 12 #include "sdk_util/scoped_ref.h" |
13 | 13 |
14 namespace nacl_io { | 14 namespace nacl_io { |
15 | 15 |
16 class PepperInterface; | |
17 | |
18 class FsFactory { | 16 class FsFactory { |
19 public: | 17 public: |
20 virtual ~FsFactory() {} | 18 virtual ~FsFactory() {} |
21 virtual Error CreateFilesystem(const FsInitArgs& args, | 19 virtual Error CreateFilesystem(const FsInitArgs& args, |
22 ScopedFilesystem* out_fs) = 0; | 20 ScopedFilesystem* out_fs) = 0; |
23 }; | 21 }; |
24 | 22 |
25 } // namespace nacl_io | 23 } // namespace nacl_io |
26 | 24 |
27 #endif // LIBRARIES_NACL_IO_FS_FACTORY_H_ | 25 #endif // LIBRARIES_NACL_IO_FS_FACTORY_H_ |
OLD | NEW |