Index: extensions/renderer/api_binding_hooks.h |
diff --git a/extensions/renderer/api_binding_hooks.h b/extensions/renderer/api_binding_hooks.h |
index 54c3bfc058bfe73630fc63433613b153df5eb78e..0de3f29597f3a9d8d39bba4aea7038a15b8f8e75 100644 |
--- a/extensions/renderer/api_binding_hooks.h |
+++ b/extensions/renderer/api_binding_hooks.h |
@@ -70,6 +70,11 @@ class APIBindingHooks { |
const std::string& event_name, |
v8::Local<v8::Value>* event_out); |
+ // Performs any extra initialization on the template. |
+ void InitializeTemplate(v8::Isolate* isolate, |
+ v8::Local<v8::ObjectTemplate> object_template, |
+ const APITypeReferenceMap& type_refs); |
+ |
void SetDelegate(std::unique_ptr<APIBindingHooksDelegate> delegate); |
private: |