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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 8205001: (Owner approval for) Delay network requests on startup if any webRequest ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/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);

Powered by Google App Engine
This is Rietveld 408576698