Searched refs:extension_types (Results 1 – 9 of 9) sorted by relevance
18 def _GetPlatformsForExtensionTypes(extension_types): argument20 if extension_types == 'all' or 'platform_app' in extension_types:22 if extension_types == 'all' or 'extension' in extension_types:58 extension_types = set()60 extension_types.update(value['extension_types'])63 value['extension_types'] = list(extension_types)70 extension_types = value.pop('extension_types', None)71 if extension_types is not None:73 extension_types)
21 EXPECT_EQ(6u, feature->extension_types()->size()); in TEST()22 EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_EXTENSION)); in TEST()24 feature->extension_types()->count(Manifest::TYPE_LEGACY_PACKAGED_APP)); in TEST()26 feature->extension_types()->count(Manifest::TYPE_PLATFORM_APP)); in TEST()27 EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_HOSTED_APP)); in TEST()28 EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_THEME)); in TEST()30 feature->extension_types()->count(Manifest::TYPE_SHARED_MODULE)); in TEST()64 EXPECT_EQ(3u, feature->extension_types()->size()); in TEST()65 EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_EXTENSION)); in TEST()67 feature->extension_types()->count(Manifest::TYPE_LEGACY_PACKAGED_APP)); in TEST()[all …]
104 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST_F()139 feature.extension_types()->insert(Manifest::TYPE_EXTENSION); in TEST_F()140 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST_F()177 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST_F()201 feature.extension_types()->clear(); in TEST_F()202 feature.extension_types()->insert(Manifest::TYPE_THEME); in TEST_F()213 feature.extension_types()->clear(); in TEST_F()214 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST_F()378 EXPECT_TRUE(feature->extension_types()->empty()); in TEST_F()401 base::ListValue* extension_types = new base::ListValue(); in TEST_F() local[all …]
27 extension_types["extension"] = Manifest::TYPE_EXTENSION; in Mappings()28 extension_types["theme"] = Manifest::TYPE_THEME; in Mappings()29 extension_types["legacy_packaged_app"] = Manifest::TYPE_LEGACY_PACKAGED_APP; in Mappings()30 extension_types["hosted_app"] = Manifest::TYPE_HOSTED_APP; in Mappings()31 extension_types["platform_app"] = Manifest::TYPE_PLATFORM_APP; in Mappings()32 extension_types["shared_module"] = Manifest::TYPE_SHARED_MODULE; in Mappings()54 std::map<std::string, Manifest::Type> extension_types; member283 g_mappings.Get().extension_types); in Parse()
41 if (extension_types()->empty()) { in Parse()
42 if (extension_types()->empty()) { in Parse()
29 std::set<Manifest::Type>* extension_types() { return &extension_types_; } in extension_types() function
74 self.extension_types = feature_def['extension_types']
716 EXPECT_TRUE(feature->extension_types()->empty()); in TEST()