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

Unified Diff: chrome/common/extensions/extension.cc

Issue 8296017: Revert 105659 - Delay network requests on startup if any webRequest or webNavigation extensions a... (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
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
===================================================================
--- chrome/common/extensions/extension.cc (revision 105660)
+++ chrome/common/extensions/extension.cc (working copy)
@@ -2835,13 +2835,6 @@
return location() != Extension::COMPONENT;
}
-bool Extension::ImplicitlyDelaysNetworkStartup() const {
- // Network requests should be deferred until any extensions that might want
- // to observe or modify them are loaded.
- return HasAPIPermission(ExtensionAPIPermission::kWebNavigation) ||
- HasAPIPermission(ExtensionAPIPermission::kWebRequest);
-}
-
bool Extension::IsDisallowedExperimentalPermission(
ExtensionAPIPermission::ID permission) const {
return permission == ExtensionAPIPermission::kExperimental &&
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698