Lines Matching defs:permission
104 // Names of API modules that do not require a permission.
132 // without asking for the module permission. In other words, functions you can
149 const std::string& permission) {
150 return Extension::kPermissions[permission_map_[permission]].message_id;
263 // Explicit permissions -- permission declaration required.
467 const std::string& permission) {
468 return ExtensionConfig::GetInstance()->GetPermissionMessageId(permission);
2221 // Remap the old unlimited storage permission name.
2226 // Check if it's a module permission. If so, enable that permission.
2228 // Only allow the experimental API permission if the command line
2248 // Check if it's a host pattern permission.
2276 // If it's not a host permission, then it's probably an unknown API
2277 // permission. Do not throw an error so extensions can retain
2297 // Make sure "background" permission is set.
2693 // windows and tabs are the same permission.
2751 (const std::string& permission) const {
2757 if (permission == Extension::kComponentPrivatePermissionNames[i])
2803 // Otherwise, see if this extension has permission to execute script