Chromium Code Reviews| Index: chrome/renderer/extensions/dispatcher.h |
| diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h |
| index a3a5275d491759a02295cf8898f9637b98bfc30f..ce879843e5459f288697c5c6f349be8602826e15 100644 |
| --- a/chrome/renderer/extensions/dispatcher.h |
| +++ b/chrome/renderer/extensions/dispatcher.h |
| @@ -189,6 +189,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(); |
| @@ -211,6 +214,15 @@ class Dispatcher : public content::RenderProcessObserver { |
| int extension_group, |
| const ExtensionURLInfo& url_info); |
| + typedef void (ModuleSystem::*LazyFieldSetter)(v8::Handle<v8::Object>, |
|
Matt Perry
2013/02/21 01:57:43
Is this used anywhere? And if so, why does it belo
cduvall
2013/02/26 00:36:57
Removed.
|
| + const std::string&, |
| + const std::string&, |
| + const std::string&); |
| + // Gets |field| from |object| or creates it as an empty object if it doesn't |
| + // exist. |
| + v8::Handle<v8::Object> GetOrCreateObject(v8::Handle<v8::Object> object, |
| + const std::string& field); |
| + |
| // True if this renderer is running extensions. |
| bool is_extension_process_; |