diff options
author | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 10:59:34 +0000 |
---|---|---|
committer | pam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 10:59:34 +0000 |
commit | 801b010696aa39c2583bc1a220733261facf7439 (patch) | |
tree | 22c5d3d729ee423e109c1cb812a250a0bad0b1ea /chrome/common/extensions/extension_permission_set.h | |
parent | db63d20c9289e5b1caacbe0a8a47b5a3a0eb9908 (diff) | |
download | chromium_src-801b010696aa39c2583bc1a220733261facf7439.zip chromium_src-801b010696aa39c2583bc1a220733261facf7439.tar.gz chromium_src-801b010696aa39c2583bc1a220733261facf7439.tar.bz2 |
Delay network requests on startup if any webRequest or webNavigation extensions are enabled.
Add a webRequest extension API permission, used to tell when an extension uses that API and therefore wants to delay startup. Use the "tabs" warning for it.
Also clean up the UserScriptListener, which never released requests individually and so doesn't need to track them individually either, and makes the RequestQueue handle bulk releases by its delegates instead.
BUG=99450
TEST=unit_tests.exe --gtest_filter=NetworkDelayListenerTest.*
Review URL: http://codereview.chromium.org/8205001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_permission_set.h')
-rw-r--r-- | chrome/common/extensions/extension_permission_set.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_permission_set.h b/chrome/common/extensions/extension_permission_set.h index 7250174..d7a92cd 100644 --- a/chrome/common/extensions/extension_permission_set.h +++ b/chrome/common/extensions/extension_permission_set.h @@ -122,6 +122,7 @@ class ExtensionAPIPermission { kTtsEngine, kUnlimitedStorage, kWebNavigation, + kWebRequest, kWebSocketProxyPrivate, kWebstorePrivate, kEnumBoundary |