Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 15961006: Regenerate Extensions API bindings when optional permissions change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698