Lines Matching refs:content_type
198 ContentSettingsType content_type) const {
199 DCHECK(content_type != CONTENT_SETTINGS_TYPE_GEOLOCATION)
201 DCHECK(content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
205 if (content_type == CONTENT_SETTINGS_TYPE_IMAGES ||
206 content_type == CONTENT_SETTINGS_TYPE_JAVASCRIPT ||
207 content_type == CONTENT_SETTINGS_TYPE_PLUGINS ||
208 content_type == CONTENT_SETTINGS_TYPE_COOKIES ||
209 content_type == CONTENT_SETTINGS_TYPE_POPUPS ||
210 content_type == CONTENT_SETTINGS_TYPE_MIXEDSCRIPT ||
211 content_type == CONTENT_SETTINGS_TYPE_MEDIASTREAM ||
212 content_type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC ||
213 content_type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA ||
214 content_type == CONTENT_SETTINGS_TYPE_PPAPI_BROKER ||
215 content_type == CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS ||
216 content_type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX) {
217 return content_blocked_[content_type];
224 ContentSettingsType content_type) const {
225 return content_blockage_indicated_to_user_[content_type];
229 ContentSettingsType content_type) {
230 content_blockage_indicated_to_user_[content_type] = true;
234 ContentSettingsType content_type) const {
237 if (content_type != CONTENT_SETTINGS_TYPE_COOKIES &&
238 content_type != CONTENT_SETTINGS_TYPE_MEDIASTREAM &&
239 content_type != CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC &&
240 content_type != CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA &&
241 content_type != CONTENT_SETTINGS_TYPE_PPAPI_BROKER &&
242 content_type != CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS &&
243 content_type != CONTENT_SETTINGS_TYPE_MIDI_SYSEX) {
247 return content_allowed_[content_type];
252 ContentSettingsType content_type) const {
253 if (blocked_resources_[content_type].get()) {
254 return *blocked_resources_[content_type];
262 ContentSettingsType content_type,
264 if (!blocked_resources_[content_type].get())
265 blocked_resources_[content_type].reset(new std::set<std::string>());
266 blocked_resources_[content_type]->insert(resource_identifier);