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

Unified Diff: chrome/common/extensions/permissions/permission_set.cc

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more comments and fixed tests Created 7 years, 7 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/permissions/permission_set.cc
diff --git a/chrome/common/extensions/permissions/permission_set.cc b/chrome/common/extensions/permissions/permission_set.cc
index a6467aaf27b0dbfcebdb034336c53cb84289d410..1418cc3d2d35c7473f99dc0264e8b0d1961dbeb1 100644
--- a/chrome/common/extensions/permissions/permission_set.cc
+++ b/chrome/common/extensions/permissions/permission_set.cc
@@ -38,19 +38,12 @@ bool RcdBetterThan(const std::string& a, const std::string& b) {
// Names of API modules that can be used without listing it in the
// permissions section of the manifest.
const char* kNonPermissionModuleNames[] = {
- "browserAction",
- "commands",
"devtools",
"events",
"extension",
"i18n",
- "omnibox",
- "pageAction",
- "pageActions",
- "pageLauncher",
"permissions",
"runtime",
- "scriptBadge",
"tabs",
"test",
"types",

Powered by Google App Engine
This is Rietveld 408576698