Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / renderer / extensions / file_browser_private_custom_bindings.h
index 8311739..0439745 100644 (file)
@@ -6,15 +6,14 @@
 #define CHROME_RENDERER_EXTENSIONS_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_H_
 
 #include "base/compiler_specific.h"
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "extensions/renderer/object_backed_native_handler.h"
 
 namespace extensions {
 
 // Custom bindings for the fileBrowserPrivate API.
-class FileBrowserPrivateCustomBindings : public ChromeV8Extension {
+class FileBrowserPrivateCustomBindings : public ObjectBackedNativeHandler {
  public:
-  FileBrowserPrivateCustomBindings(Dispatcher* dispatcher,
-                                   ChromeV8Context* context);
+  explicit FileBrowserPrivateCustomBindings(ScriptContext* context);
 
   void GetFileSystem(const v8::FunctionCallbackInfo<v8::Value>& args);