Chromium Code Reviews| Index: chrome/renderer/extensions/dispatcher.h |
| diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h |
| index 2676b3b7b4ad9771f60ba2899fb44e5fd53b060d..a249c115afb24a145f9b8486fdaec2590057c411 100644 |
| --- a/chrome/renderer/extensions/dispatcher.h |
| +++ b/chrome/renderer/extensions/dispatcher.h |
| @@ -185,6 +185,9 @@ class Dispatcher : public content::RenderProcessObserver { |
| void RegisterNativeHandlers(ModuleSystem* module_system, |
| ChromeV8Context* context); |
| + void RegisterSchemaGeneratedBindings(ModuleSystem* module_system, |
| + ChromeV8Context* context, |
| + v8::Handle<v8::Context> v8_context); |
| // Inserts static source code into |source_map_|. |
| void PopulateSourceMap(); |
| @@ -207,6 +210,17 @@ class Dispatcher : public content::RenderProcessObserver { |
| int extension_group, |
| const ExtensionURLInfo& url_info); |
| + typedef void (ModuleSystem::*LazyFieldSetter)(v8::Handle<v8::Object>, |
| + const std::string&, |
| + const std::string&, |
| + const std::string&); |
| + void SetUpChainedField(v8::Handle<v8::Object> object, |
|
not at google - send to devlin
2013/01/24 21:10:12
comment
cduvall
2013/01/24 22:15:15
Done.
|
| + const std::string& field, |
| + const std::string& module_name, |
| + const std::string& module_field, |
| + ModuleSystem* module_system, |
| + LazyFieldSetter setter); |
| + |
| // True if this renderer is running extensions. |
| bool is_extension_process_; |