Index: extensions/renderer/i18n_custom_bindings.h |
diff --git a/chrome/renderer/extensions/i18n_custom_bindings.h b/extensions/renderer/i18n_custom_bindings.h |
similarity index 54% |
rename from chrome/renderer/extensions/i18n_custom_bindings.h |
rename to extensions/renderer/i18n_custom_bindings.h |
index 390bc6ec3ca295dca5ca2254c2e0e52236fba229..a52e3645a45745554c767eeb442b5a61c9873c21 100644 |
--- a/chrome/renderer/extensions/i18n_custom_bindings.h |
+++ b/extensions/renderer/i18n_custom_bindings.h |
@@ -2,17 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_RENDERER_EXTENSIONS_I18N_CUSTOM_BINDINGS_H_ |
-#define CHROME_RENDERER_EXTENSIONS_I18N_CUSTOM_BINDINGS_H_ |
+#ifndef EXTENSIONS_RENDERER_I18N_CUSTOM_BINDINGS_H_ |
+#define EXTENSIONS_RENDERER_I18N_CUSTOM_BINDINGS_H_ |
-#include "chrome/renderer/extensions/chrome_v8_extension.h" |
+#include "extensions/renderer/object_backed_native_handler.h" |
namespace extensions { |
+class ScriptContext; |
// Implements custom bindings for the i18n API. |
-class I18NCustomBindings : public ChromeV8Extension { |
+class I18NCustomBindings : public ObjectBackedNativeHandler { |
public: |
- I18NCustomBindings(Dispatcher* dispatcher, ChromeV8Context* context); |
+ I18NCustomBindings(ScriptContext* context); |
private: |
void GetL10nMessage(const v8::FunctionCallbackInfo<v8::Value>& args); |
@@ -21,4 +22,4 @@ class I18NCustomBindings : public ChromeV8Extension { |
} // namespace extensions |
-#endif // CHROME_RENDERER_EXTENSIONS_I18N_CUSTOM_BINDINGS_H_ |
+#endif // EXTENSIONS_RENDERER_I18N_CUSTOM_BINDINGS_H_ |