Index: chrome/renderer/extensions/dispatcher.h |
diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h |
index ec002adfb71cdffe453b5d07d9b9e0f88a7802ae..10bbba8268e097b156fc2da3a8fdefd90827b3dc 100644 |
--- a/chrome/renderer/extensions/dispatcher.h |
+++ b/chrome/renderer/extensions/dispatcher.h |
@@ -194,10 +194,20 @@ class Dispatcher : public content::RenderProcessObserver { |
const Extension* extension, |
const URLPatternSet& origins); |
+ void RefreshSchemaGeneratedBindings(); |
+ |
void RegisterNativeHandlers(ModuleSystem* module_system, |
ChromeV8Context* context); |
void RegisterSchemaGeneratedBindings(ModuleSystem* module_system, |
ChromeV8Context* context); |
+ void RegisterBinding(const std::string& api_name, |
+ ModuleSystem* module_system, |
+ ChromeV8Context* context); |
+ void RemoveAPIBindingIfPresent(const std::string& api_name, |
+ ChromeV8Context* context); |
+ v8::Handle<v8::Object> GetBindObject(const std::string& api_name, |
+ std::string* bind_name, |
+ ChromeV8Context* context); |
// Inserts static source code into |source_map_|. |
void PopulateSourceMap(); |