1 // Copyright (c) 2014 Intel Corporation. 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.
5 #ifndef XWALK_RUNTIME_RENDERER_ISOLATED_FILE_SYSTEM_H_
6 #define XWALK_RUNTIME_RENDERER_ISOLATED_FILE_SYSTEM_H_
8 #include "xwalk/extensions/renderer/xwalk_module_system.h"
11 namespace extensions {
13 class XWalkModuleSystem;
15 class IsolatedFileSystem: public xwalk::extensions::XWalkNativeModule {
18 virtual ~IsolatedFileSystem();
21 v8::Handle<v8::Object> NewInstance() override;
22 static void GetIsolatedFileSystem(const v8::FunctionCallbackInfo<v8::Value>&);
24 v8::Persistent<v8::ObjectTemplate> object_template_;
25 v8::Persistent<v8::Object> function_data_;
28 } // namespace extensions
31 #endif // XWALK_RUNTIME_RENDERER_ISOLATED_FILE_SYSTEM_H_