Lines Matching full:extension
11 #include "extensions/common/extension.h"
37 bool ManifestHandler::Validate(const Extension* extension,
67 const Extension* extension) {
82 bool ManifestHandler::ParseExtension(Extension* extension, string16* error) {
83 return GetRegistry()->ParseExtension(extension, error);
87 bool ManifestHandler::ValidateExtension(const Extension* extension,
90 return GetRegistry()->ValidateExtension(extension, error, warnings);
100 const Extension* extension, ManifestPermissionSet* permission_set) {
101 return GetRegistry()->AddExtensionInitialRequiredPermissions(extension,
129 bool ManifestHandlerRegistry::ParseExtension(Extension* extension,
135 if (extension->manifest()->HasPath(iter->first) ||
136 handler->AlwaysParseForType(extension->GetType())) {
143 if (!(iter->second)->Parse(extension, error))
150 const Extension* extension,
157 if (extension->manifest()->HasPath(iter->first) ||
158 handler->AlwaysValidateForType(extension->GetType())) {
164 if (!(*iter)->Validate(extension, error, warnings))
180 const Extension* extension, ManifestPermissionSet* permission_set) {
184 it->second->CreateInitialRequiredPermission(extension);
224 << "Extension manifest handler depends on unrecognized key "
245 CHECK(unsorted_handlers.size() == 0) << "Extension manifest handlers have "