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

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

Issue 9150008: Introduce background.scripts feature for extension manifests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/common/extensions/manifest.cc
diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc
index ad29ea33053beed105f52a02078543846fe431a2..62ea5f80b5bea3c16470b3b04c0ab0f09134946b 100644
--- a/chrome/common/extensions/manifest.cc
+++ b/chrome/common/extensions/manifest.cc
@@ -68,6 +68,7 @@ struct Restrictions {
// Extensions and packaged apps.
int ext_and_packaged =
Manifest::kTypeExtension | Manifest::kTypePackagedApp;
+ map[keys::kBackgroundScripts] = ext_and_packaged;
map[keys::kContentScripts] = ext_and_packaged;
map[keys::kOmnibox] = ext_and_packaged;
map[keys::kDevToolsPage] = ext_and_packaged;

Powered by Google App Engine
This is Rietveld 408576698