Lines Matching refs:content_type
372 ContentSettingsType content_type = static_cast<ContentSettingsType>(type);
374 host_content_settings_map->GetDefaultContentSetting(content_type,
376 default_settings[content_type] = default_setting;
386 content_type)) {
388 content_type,
391 if (!HostContentSettingsMap::ContentTypeHasCompoundValue(content_type) &&
395 content_type)) {
399 content_type,
404 content_type, std::string(), &host_settings);
419 ContentSettingsType content_type = static_cast<ContentSettingsType>(type);
420 if (HostContentSettingsMap::ContentTypeHasCompoundValue(content_type) ||
422 content_type == CONTENT_SETTINGS_TYPE_MIXEDSCRIPT ||
423 content_type == CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS)
426 host_content_settings_map->GetDefaultContentSetting(content_type,
428 EXPECT_TRUE(default_settings.count(content_type));
429 EXPECT_EQ(default_settings[content_type], default_setting);
430 if (!HostContentSettingsMap::ContentTypeHasCompoundValue(content_type)) {
435 content_type,
442 content_type, std::string(), &host_settings);