Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / renderer / extensions / sync_file_system_custom_bindings.h
index 1372dc0..fc38357 100644 (file)
@@ -5,16 +5,15 @@
 #ifndef CHROME_RENDERER_EXTENSIONS_SYNC_FILE_SYSTEM_CUSTOM_BINDINGS_H_
 #define CHROME_RENDERER_EXTENSIONS_SYNC_FILE_SYSTEM_CUSTOM_BINDINGS_H_
 
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "extensions/renderer/object_backed_native_handler.h"
 #include "v8/include/v8.h"
 
 namespace extensions {
 
 // Implements custom bindings for the sync file system API.
-class SyncFileSystemCustomBindings : public ChromeV8Extension {
+class SyncFileSystemCustomBindings : public ObjectBackedNativeHandler {
  public:
-  SyncFileSystemCustomBindings(Dispatcher* dispatcher,
-                               ChromeV8Context* context);
+  explicit SyncFileSystemCustomBindings(ScriptContext* context);
 
  private:
   // FileSystemObject GetSyncFileSystemObject(string name, string root_url):