Home | History | Annotate | Download | only in extensions

Lines Matching defs:Manifest

5 #include "chrome/common/extensions/manifest.h"
27 // Manifest::GetHigherPriorityLocation() to compare locations.
31 int GetLocationRank(Manifest::Location location) {
37 case Manifest::COMPONENT:
43 case Manifest::EXTERNAL_POLICY_DOWNLOAD:
50 case Manifest::COMMAND_LINE:
54 case Manifest::UNPACKED:
60 case Manifest::EXTERNAL_REGISTRY:
64 case Manifest::EXTERNAL_PREF:
68 case Manifest::EXTERNAL_PREF_DOWNLOAD:
73 case Manifest::INTERNAL:
88 Manifest::Location Manifest::GetHigherPriorityLocation(
104 Manifest::Manifest(Location location, scoped_ptr<base::DictionaryValue> value)
127 Manifest::~Manifest() {
130 bool Manifest::ValidateManifest(
134 if (type_ == Manifest::TYPE_PLATFORM_APP && GetManifestVersion() < 2) {
139 // Check every feature to see if its in the manifest. Note that this means
145 FeatureProvider* provider = FeatureProvider::GetByName("manifest");
170 base::StringPrintf("Unrecognized manifest key '%s'.",
177 bool Manifest::HasKey(const std::string& key) const {
181 bool Manifest::HasPath(const std::string& path) const {
186 bool Manifest::Get(
191 bool Manifest::GetBoolean(
196 bool Manifest::GetInteger(
201 bool Manifest::GetString(
206 bool Manifest::GetString(
211 bool Manifest::GetDictionary(
216 bool Manifest::GetList(
221 Manifest* Manifest::DeepCopy() const {
222 Manifest* manifest = new Manifest(
224 manifest->set_extension_id(extension_id_);
225 return manifest;
228 bool Manifest::Equals(const Manifest* other) const {
232 int Manifest::GetManifestVersion() const {
233 // Platform apps were launched after manifest version 2 was the preferred
240 bool Manifest::CanAccessPath(const std::string& path) const {
253 bool Manifest::CanAccessKey(const std::string& key) const {
254 Feature* feature = FeatureProvider::GetByName("manifest")->GetFeature(key);