Lines Matching defs:extension
32 // The number of hash buckets into which extension IDs are mapped. This sets
67 // Determines if the |extension| is an extension (can use extension APIs) and is
68 // not from the webstore. If local information claims the extension is from the
70 // explicitly deemed invalid. If |verifier| is inactive or if the extension is
73 const extensions::Extension& extension,
75 if (!extension.is_extension() && !extension.is_legacy_packaged_app())
79 if (extensions::Manifest::IsComponentLocation(extension.location()))
82 if (verifier.AllowedByEnterprisePolicy(extension.id()))
85 if (!extensions::InstallVerifier::IsFromStore(extension))
88 // Local information about the extension implies it is from the store. We try
90 if (!verifier.IsKnownId(extension.id()))
93 if (verifier.IsInvalid(extension.id()))
100 // highest (as defined by the order of ExtensionState) value of each extension
108 // Combine the state of each extension, always favoring the higher state as