Home
last modified time | relevance | path

Searched refs:extension_types (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
Dfeatures_utility.py18 def _GetPlatformsForExtensionTypes(extension_types): argument
20 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)
/external/chromium_org/chrome/common/extensions/features/
Dbase_feature_provider_unittest.cc21 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 …]
Dsimple_feature_unittest.cc104 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 …]
Dsimple_feature.cc27 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; member
283 g_mappings.Get().extension_types); in Parse()
Dpermission_feature.cc41 if (extension_types()->empty()) { in Parse()
Dmanifest_feature.cc42 if (extension_types()->empty()) { in Parse()
Dsimple_feature.h29 std::set<Manifest::Type>* extension_types() { return &extension_types_; } in extension_types() function
/external/chromium_org/tools/json_schema_compiler/
Dmodel.py74 self.extension_types = feature_def['extension_types']
/external/chromium_org/chrome/common/extensions/api/
Dextension_api_unittest.cc716 EXPECT_TRUE(feature->extension_types()->empty()); in TEST()