Chromium Code Reviews| Index: chrome/browser/extensions/extension_service.h |
| =================================================================== |
| --- chrome/browser/extensions/extension_service.h (revision 104705) |
| +++ chrome/browser/extensions/extension_service.h (working copy) |
| @@ -193,6 +193,13 @@ |
| // Gets the object managing the set of pending extensions. |
| virtual PendingExtensionManager* pending_extension_manager() OVERRIDE; |
| + // Registers or unregisters an extension to delay network requests on startup |
| + // until the extension's background page has loaded. |
| + void SetDelaysNetworkRequests(const Extension* extension, bool delays); |
|
Aaron Boodman
2011/10/10 22:59:29
Just call ExtensionPrefs directly for a few reason
|
| + |
| + // Whether the extension is registered to delay network requests on startup. |
| + bool DelaysNetworkRequests(const Extension* extension) const; |
| + |
| // Registers an extension to be loaded as a component extension. |
| void register_component_extension(const ComponentExtensionInfo& info) { |
| component_extension_manifests_.push_back(info); |