| Index: chrome/renderer/extensions/dispatcher.h
|
| diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
|
| index 70193e26dfe7a1ac8fefbb21b9dc93bf702aee1e..a4a8751170112955beb2e5308700a2670d97a397 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>,
|
| + 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_;
|
|
|
|
|