Home | History | Annotate | Download | only in content_settings

Lines Matching refs:content_type

70 // Returns true if the |content_type| supports a resource identifier.
72 bool SupportsResourceIdentifier(ContentSettingsType content_type) {
73 return content_type == CONTENT_SETTINGS_TYPE_PLUGINS;
163 ContentSettingsType content_type,
166 provider->GetRuleIterator(content_type, std::string(), false));
180 ContentSettingsType content_type,
192 GetDefaultContentSettingFromProvider(content_type, provider->second);
210 ContentSettingsType content_type,
212 DCHECK(!ContentTypeHasCompoundValue(content_type));
214 primary_url, secondary_url, content_type, resource_identifier, NULL));
219 ContentSettingsType content_type,
222 DCHECK(SupportsResourceIdentifier(content_type) ||
236 content_type,
243 content_type,
251 ContentSettingsType content_type,
253 DCHECK(IsSettingAllowedForType(prefs_, setting, content_type));
261 content_type,
269 ContentSettingsType content_type,
272 DCHECK(IsValueAllowedForType(prefs_, value, content_type));
273 DCHECK(SupportsResourceIdentifier(content_type) ||
282 content_type,
294 ContentSettingsType content_type,
297 DCHECK(!ContentTypeHasCompoundValue(content_type));
303 content_type,
311 ContentSettingsType content_type,
317 DCHECK(!ContentTypeHasCompoundValue(content_type));
323 content_type,
329 content_type,
335 ContentSettingsType content_type) {
340 provider->second->ClearAllContentSettingsRules(content_type);
354 ContentSettingsType content_type) {
356 if (content_type == CONTENT_SETTINGS_TYPE_MIXEDSCRIPT)
360 if (content_type == CONTENT_SETTINGS_TYPE_FULLSCREEN &&
366 if (content_type == CONTENT_SETTINGS_TYPE_MEDIASTREAM &&
377 switch (content_type) {
409 ContentSettingsType content_type,
413 content_type,
489 ContentSettingsType content_type,
494 provider->GetRuleIterator(content_type,
504 if (ContentTypeHasCompoundValue(content_type) &&
532 ContentSettingsType content_type) {
533 if (content_type == CONTENT_SETTINGS_TYPE_NOTIFICATIONS ||
534 content_type == CONTENT_SETTINGS_TYPE_GEOLOCATION ||
535 content_type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX) {
539 content_type == CONTENT_SETTINGS_TYPE_COOKIES &&
544 return content_type != CONTENT_SETTINGS_TYPE_PLUGINS &&
545 (content_type != CONTENT_SETTINGS_TYPE_COOKIES ||
556 ContentSettingsType content_type,
559 DCHECK(SupportsResourceIdentifier(content_type) ||
563 if (ShouldAllowAllContent(primary_url, secondary_url, content_type)) {
585 provider->second, primary_url, secondary_url, content_type,