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

Unified Diff: chrome/browser/extensions/extension_prefs.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: Updated checkout 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
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.h
===================================================================
--- chrome/browser/extensions/extension_prefs.h (revision 105566)
+++ chrome/browser/extensions/extension_prefs.h (working copy)
@@ -239,6 +239,15 @@
void SetAllowFileAccess(const std::string& extension_id, bool allow);
bool HasAllowFileAccessSetting(const std::string& extension_id) const;
+ // Sets the extension preference indicating that an extension wants to delay
+ // network requests on browser startup.
+ void SetDelaysNetworkRequests(const std::string& extension_id,
+ bool does_delay);
+
+ // Returns true if an extension has registered to delay network requests on
+ // browser startup.
+ bool DelaysNetworkRequests(const std::string& extension_id);
+
// Get the launch type preference. If no preference is set, return
// |default_pref_value|.
LaunchType GetLaunchType(const std::string& extension_id,
@@ -253,7 +262,6 @@
const Extension* extension,
LaunchType default_pref_value);
-
// Saves ExtensionInfo for each installed extension with the path to the
// version directory and the location. Blacklisted extensions won't be saved
// and neither will external extensions the user has explicitly uninstalled.
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698