Home
last modified time | relevance | path

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

/external/chromium_org/extensions/common/features/
Dbase_feature_provider_unittest.cc28 std::set<Manifest::Type>* extension_types = feature->extension_types(); in TEST() local
29 EXPECT_EQ(6u, extension_types->size()); in TEST()
30 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_EXTENSION)); in TEST()
31 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_LEGACY_PACKAGED_APP)); in TEST()
32 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_PLATFORM_APP)); in TEST()
33 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_HOSTED_APP)); in TEST()
34 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_THEME)); in TEST()
35 EXPECT_EQ(1u, extension_types->count(Manifest::TYPE_SHARED_MODULE)); in TEST()
85 std::set<Manifest::Type>* extension_types = feature->extension_types(); in TEST() local
86 EXPECT_EQ(3u, extension_types->size()); in TEST()
[all …]
Dsimple_feature_unittest.cc109 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST()
238 feature.extension_types()->insert(Manifest::TYPE_EXTENSION); in TEST()
239 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST()
276 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST()
300 feature.extension_types()->clear(); in TEST()
301 feature.extension_types()->insert(Manifest::TYPE_THEME); in TEST()
312 feature.extension_types()->clear(); in TEST()
313 feature.extension_types()->insert(Manifest::TYPE_LEGACY_PACKAGED_APP); in TEST()
481 EXPECT_TRUE(feature->extension_types()->empty()); in TEST()
504 base::ListValue* extension_types = new base::ListValue(); in TEST() local
[all …]
Dsimple_feature.cc47 extension_types["extension"] = Manifest::TYPE_EXTENSION; in Mappings()
48 extension_types["theme"] = Manifest::TYPE_THEME; in Mappings()
49 extension_types["legacy_packaged_app"] = Manifest::TYPE_LEGACY_PACKAGED_APP; in Mappings()
50 extension_types["hosted_app"] = Manifest::TYPE_HOSTED_APP; in Mappings()
51 extension_types["platform_app"] = Manifest::TYPE_PLATFORM_APP; in Mappings()
52 extension_types["shared_module"] = Manifest::TYPE_SHARED_MODULE; in Mappings()
70 std::map<std::string, Manifest::Type> extension_types; member
276 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.h57 std::set<Manifest::Type>* extension_types() { return &extension_types_; } in extension_types() function
/external/chromium_org/chrome/common/extensions/features/
Dchrome_channel_feature_filter_unittest.cc141 base::ListValue* extension_types = new base::ListValue(); in TEST_F() local
142 extension_types->Append(new base::StringValue("extension")); in TEST_F()
143 feature2->Set("extension_types", extension_types); in TEST_F()
156 feature1->Set("extension_types", extension_types->DeepCopy()); in TEST_F()
/external/chromium_org/extensions/browser/api/
Dcapture_web_contents_function.h43 typedef core_api::extension_types::ImageDetails ImageDetails;
Dexecute_code_function.h40 scoped_ptr<core_api::extension_types::InjectDetails> details_;
Dexecute_code_function.cc34 using core_api::extension_types::InjectDetails;
/external/chromium_org/extensions/common/api/
Dschemas.gypi25 'extension_types.json',
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_lib.c211 uint16_t *extension_types = NULL; in tls1_check_duplicate_extensions() local
234 extension_types = (uint16_t*)OPENSSL_malloc(sizeof(uint16_t) * num_extensions); in tls1_check_duplicate_extensions()
235 if (extension_types == NULL) in tls1_check_duplicate_extensions()
247 if (!CBS_get_u16(&extensions, &extension_types[i]) || in tls1_check_duplicate_extensions()
257 qsort(extension_types, num_extensions, sizeof(uint16_t), compare_uint16_t); in tls1_check_duplicate_extensions()
260 if (extension_types[i-1] == extension_types[i]) in tls1_check_duplicate_extensions()
268 if (extension_types) in tls1_check_duplicate_extensions()
269 OPENSSL_free(extension_types); in tls1_check_duplicate_extensions()
/external/chromium_org/chrome/common/extensions/api/
D_api_features.json753 // Set extension_types to 'all' to prevent webstore from being filtered.
Dextension_api_unittest.cc744 EXPECT_TRUE(feature->extension_types()->empty()); in TEST()
/external/chromium_org/extensions/browser/api/web_view/
Dweb_view_internal_api.cc18 using extensions::core_api::extension_types::InjectDetails;
/external/chromium_org/tools/json_schema_compiler/
Dmodel.py79 self.extension_types = feature_def['extension_types']
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc107 using core_api::extension_types::InjectDetails;