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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/fs_factory.h

Issue 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_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 "sdk_util/scoped_ref.h" 12 #include "sdk_util/scoped_ref.h"
12 13
13 namespace nacl_io { 14 namespace nacl_io {
14 15
15 class Filesystem;
16 class PepperInterface; 16 class PepperInterface;
17 struct FsInitArgs;
18 17
19 class FsFactory { 18 class FsFactory {
20 public: 19 public:
21 virtual ~FsFactory() {} 20 virtual ~FsFactory() {}
22 virtual Error CreateFilesystem(const FsInitArgs& args, 21 virtual Error CreateFilesystem(const FsInitArgs& args,
23 sdk_util::ScopedRef<Filesystem>* out_fs) = 0; 22 ScopedFilesystem* out_fs) = 0;
24 }; 23 };
25 24
26 } // namespace nacl_io 25 } // namespace nacl_io
27 26
28 #endif // LIBRARIES_NACL_IO_FS_FACTORY_H_ 27 #endif // LIBRARIES_NACL_IO_FS_FACTORY_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/fifo_char.h ('k') | native_client_sdk/src/libraries/nacl_io/ioctl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698