Index: chrome/renderer/extensions/runtime_custom_bindings.h |
diff --git a/chrome/renderer/extensions/runtime_custom_bindings.h b/chrome/renderer/extensions/runtime_custom_bindings.h |
index 3200eb5c4cf51bdfe6cd56a33737dd1daa828077..ce2ba03dc1b8b1b8ca05c88dfbbd6cebeda97f3d 100644 |
--- a/chrome/renderer/extensions/runtime_custom_bindings.h |
+++ b/chrome/renderer/extensions/runtime_custom_bindings.h |
@@ -6,18 +6,15 @@ |
#define CHROME_RENDERER_EXTENSIONS_RUNTIME_CUSTOM_BINDINGS_H_ |
#include "base/compiler_specific.h" |
-#include "chrome/renderer/extensions/chrome_v8_extension.h" |
+#include "extensions/renderer/object_backed_native_handler.h" |
#include "v8/include/v8.h" |
-class ExtensionDispatcher; |
-class ChromeV8Context; |
- |
namespace extensions { |
// The native component of custom bindings for the chrome.runtime API. |
-class RuntimeCustomBindings : public ChromeV8Extension { |
+class RuntimeCustomBindings : public ObjectBackedNativeHandler { |
public: |
- RuntimeCustomBindings(Dispatcher* dispatcher, ChromeV8Context* context); |
+ explicit RuntimeCustomBindings(ScriptContext* context); |
virtual ~RuntimeCustomBindings(); |