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

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

Issue 10829186: Tabs API is usable without tabs permission. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: ETU now SetString()'s for empty values Created 8 years, 4 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 f166cdfab7cd4afbeed3e75e019eded52dd52c16..301262c35abe914d2f46f8000ee9fa260df94227 100644
--- a/chrome/common/extensions/permissions/permission_set.cc
+++ b/chrome/common/extensions/permissions/permission_set.cc
@@ -46,6 +46,7 @@ const char* kNonPermissionModuleNames[] = {
"permissions",
"runtime",
"scriptBadge",
+ "tabs",
"test",
"types"
};
@@ -63,10 +64,6 @@ const char* kNonPermissionFunctionNames[] = {
"app.installState",
"app.runningState",
"management.getPermissionWarningsByManifest",
- "tabs.create",
- "tabs.onRemoved",
- "tabs.remove",
- "tabs.update",
};
const size_t kNumNonPermissionFunctionNames =
arraysize(kNonPermissionFunctionNames);
« no previous file with comments | « chrome/common/extensions/extension_unittest.cc ('k') | chrome/common/extensions/permissions/permission_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698