Home | History | Annotate | Download | only in tab_contents

Lines Matching refs:content_type

25     ContentSettingsType content_type) const {
26 DCHECK(content_type != CONTENT_SETTINGS_TYPE_GEOLOCATION)
28 DCHECK(content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
32 if (content_type == CONTENT_SETTINGS_TYPE_IMAGES ||
33 content_type == CONTENT_SETTINGS_TYPE_JAVASCRIPT ||
34 content_type == CONTENT_SETTINGS_TYPE_PLUGINS ||
35 content_type == CONTENT_SETTINGS_TYPE_COOKIES ||
36 content_type == CONTENT_SETTINGS_TYPE_POPUPS)
37 return content_blocked_[content_type];
44 ContentSettingsType content_type) const {
45 return content_blockage_indicated_to_user_[content_type];
49 ContentSettingsType content_type) {
50 content_blockage_indicated_to_user_[content_type] = true;
54 ContentSettingsType content_type) const {
56 if (content_type != CONTENT_SETTINGS_TYPE_COOKIES)
59 return content_accessed_[content_type];
64 ContentSettingsType content_type) const {
65 if (blocked_resources_[content_type].get()) {
66 return *blocked_resources_[content_type];
74 ContentSettingsType content_type,
76 if (!blocked_resources_[content_type].get())
77 blocked_resources_[content_type].reset(new std::set<std::string>());
78 blocked_resources_[content_type]->insert(resource_identifier);