• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_FACTORY_H_
6 #define LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_FACTORY_H_
7 
8 #include "nacl_io/filesystem.h"
9 #include "nacl_io/fs_factory.h"
10 
11 struct fuse_operations;
12 
13 namespace nacl_io {
14 
15 class FuseFsFactory : public FsFactory {
16  public:
17   explicit FuseFsFactory(fuse_operations* fuse_ops);
18   virtual Error CreateFilesystem(const FsInitArgs& args,
19                                  ScopedFilesystem* out_fs);
20 
21  private:
22   fuse_operations* fuse_ops_;
23 };
24 
25 }  // namespace nacl_io
26 
27 #endif  // LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_FACTORY_H_
28