Home
last modified time | relevance | path

Searched refs:GetContentSetting (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map_unittest.cc40 last_notifier->GetContentSetting(GURL("http://random-hostname.com/"), in Observe()
82 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(top_level, top_level)); in TEST_F()
86 map->GetContentSetting(top_level, top_level)); in TEST_F()
90 map->GetContentSetting(requester_0, top_level)); in TEST_F()
94 map->GetContentSetting(top_level, top_level)); in TEST_F()
96 map->GetContentSetting(requester_0, top_level)); in TEST_F()
100 map->GetContentSetting(requester_0, top_level)); in TEST_F()
102 map->GetContentSetting(top_level, top_level)); in TEST_F()
113 map->GetContentSetting(requester_0, embedder_0)); in TEST_F()
115 map->GetContentSetting(requester_1, embedder_0)); in TEST_F()
[all …]
Dgeolocation_exceptions_table_model_unittest.cc94 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl0)); in TEST_F()
95 EXPECT_EQ(CONTENT_SETTING_ALLOW, map->GetContentSetting(kUrl0, kUrl1)); in TEST_F()
96 EXPECT_EQ(CONTENT_SETTING_ALLOW, map->GetContentSetting(kUrl0, kUrl2)); in TEST_F()
107 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl0)); in TEST_F()
108 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl1)); in TEST_F()
109 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl2)); in TEST_F()
118 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl0)); in TEST_F()
119 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl1)); in TEST_F()
120 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(kUrl0, kUrl2)); in TEST_F()
Dgeolocation_permission_context_unittest.cc208 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
211 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
257 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
260 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
268 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
271 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
314 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
317 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
436 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
440 profile()->GetGeolocationContentSettingsMap()->GetContentSetting( in TEST_F()
Dgeolocation_content_settings_map.h59 ContentSetting GetContentSetting(const GURL& requesting_url,
/external/chromium_org/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc54 EXPECT_EQ(CONTENT_SETTING_ALLOW, host_content_settings_map->GetContentSetting( in TEST_F()
83 host_content_settings_map->GetContentSetting( in TEST_F()
92 host_content_settings_map->GetContentSetting( in TEST_F()
101 host_content_settings_map->GetContentSetting( in TEST_F()
104 host_content_settings_map->GetContentSetting( in TEST_F()
115 host_content_settings_map->GetContentSetting( in TEST_F()
124 host_content_settings_map->GetContentSetting( in TEST_F()
133 host_content_settings_map->GetContentSetting( in TEST_F()
136 host_content_settings_map->GetContentSetting( in TEST_F()
139 host_content_settings_map->GetContentSetting( in TEST_F()
[all …]
Dcontent_settings_default_provider_unittest.cc41 GetContentSetting(&provider_, in TEST_F()
54 GetContentSetting(&provider_, in TEST_F()
62 GetContentSetting(&provider_, in TEST_F()
75 GetContentSetting(&provider_, in TEST_F()
97 GetContentSetting(&provider_, in TEST_F()
113 GetContentSetting(&provider_, in TEST_F()
160 GetContentSetting(&provider_, in TEST_F()
174 GetContentSetting(&provider_, in TEST_F()
183 GetContentSetting(&provider_, in TEST_F()
195 GetContentSetting(&provider_, in TEST_F()
[all …]
Dcontent_settings_pref_provider_unittest.cc179 GetContentSetting(&pref_content_settings_provider, in TEST_F()
187 GetContentSetting(&pref_content_settings_provider_incognito, in TEST_F()
210 GetContentSetting(&provider, in TEST_F()
231 GetContentSetting(&provider, in TEST_F()
280 GetContentSetting(&pref_content_settings_provider, in TEST_F()
293 GetContentSetting(&pref_content_settings_provider, in TEST_F()
300 GetContentSetting(&pref_content_settings_provider, in TEST_F()
308 GetContentSetting(&pref_content_settings_provider, in TEST_F()
321 GetContentSetting(&pref_content_settings_provider, in TEST_F()
329 GetContentSetting(&pref_content_settings_provider, in TEST_F()
[all …]
Dcontent_settings_provider_unittest.cc29 GetContentSetting(&mock_provider, url, url, in TEST()
41 GetContentSetting(&mock_provider, url, url, in TEST()
49 GetContentSetting(&mock_provider, in TEST()
71 GetContentSetting(&mock_provider, url, url, in TEST()
86 GetContentSetting(&mock_provider, url, url, in TEST()
101 GetContentSetting(&mock_provider, url, url, in TEST()
Dcontent_settings_policy_provider_unittest.cc153 GetContentSetting(&provider, in TEST_F()
168 GetContentSetting(&provider, in TEST_F()
198 GetContentSetting(&provider, in TEST_F()
223 GetContentSetting( in TEST_F()
230 GetContentSetting(&provider, in TEST_F()
238 GetContentSetting( in TEST_F()
Dmock_settings_observer.cc38 map->GetContentSetting(url, url, CONTENT_SETTINGS_TYPE_IMAGES, std::string()); in Observe()
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_apitest.cc79 map->GetContentSetting(example_url, in CheckContentSettingsSet()
84 map->GetContentSetting(example_url, in CheckContentSettingsSet()
89 map->GetContentSetting(example_url, in CheckContentSettingsSet()
94 map->GetContentSetting(example_url, in CheckContentSettingsSet()
102 map->GetContentSetting(example_url, in CheckContentSettingsSet()
108 map->GetContentSetting(example_url, in CheckContentSettingsSet()
117 map->GetContentSetting( in CheckContentSettingsSet()
120 map->GetContentSetting( in CheckContentSettingsSet()
123 map->GetContentSetting( in CheckContentSettingsSet()
126 map->GetContentSetting( in CheckContentSettingsSet()
[all …]
/external/chromium/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc59 EXPECT_EQ(CONTENT_SETTING_ALLOW, host_content_settings_map->GetContentSetting( in TEST_F()
88 host_content_settings_map->GetContentSetting( in TEST_F()
93 host_content_settings_map->GetContentSetting( in TEST_F()
98 host_content_settings_map->GetContentSetting( in TEST_F()
101 host_content_settings_map->GetContentSetting( in TEST_F()
187 host_content_settings_map->GetContentSetting( in TEST_F()
192 host_content_settings_map->GetContentSetting( in TEST_F()
195 host_content_settings_map->GetContentSetting( in TEST_F()
198 host_content_settings_map->GetContentSetting( in TEST_F()
203 host_content_settings_map->GetContentSetting( in TEST_F()
[all …]
Dcontent_settings_provider_unittest.cc40 EXPECT_EQ(CONTENT_SETTING_BLOCK, mock_provider.GetContentSetting( in TEST()
42 EXPECT_EQ(CONTENT_SETTING_DEFAULT, mock_provider.GetContentSetting( in TEST()
44 EXPECT_EQ(CONTENT_SETTING_DEFAULT, mock_provider.GetContentSetting( in TEST()
53 EXPECT_EQ(CONTENT_SETTING_ALLOW, mock_provider.GetContentSetting( in TEST()
63 EXPECT_EQ(CONTENT_SETTING_ALLOW, mock_provider.GetContentSetting( in TEST()
68 EXPECT_EQ(CONTENT_SETTING_BLOCK, mock_provider.GetContentSetting( in TEST()
Dcontent_settings_pref_provider_unittest.cc248 pref_content_settings_provider.GetContentSetting( in TEST_F()
252 pref_content_settings_provider_incognito.GetContentSetting( in TEST_F()
273 pref_content_settings_provider.GetContentSetting( in TEST_F()
282 pref_content_settings_provider.GetContentSetting( in TEST_F()
285 pref_content_settings_provider.GetContentSetting( in TEST_F()
289 pref_content_settings_provider.GetContentSetting( in TEST_F()
298 pref_content_settings_provider.GetContentSetting( in TEST_F()
302 pref_content_settings_provider.GetContentSetting( in TEST_F()
311 pref_content_settings_provider.GetContentSetting( in TEST_F()
332 pref_content_settings_provider.GetContentSetting( in TEST_F()
[all …]
Dcontent_settings_policy_provider_unittest.cc118 provider.GetContentSetting( in TEST_F()
121 provider.GetContentSetting( in TEST_F()
131 provider.GetContentSetting( in TEST_F()
154 provider.GetContentSetting( in TEST_F()
164 provider.GetContentSetting( in TEST_F()
171 provider.GetContentSetting( in TEST_F()
178 provider.GetContentSetting( in TEST_F()
Dcontent_settings_notification_provider.h41 virtual ContentSetting GetContentSetting(
89 ContentSetting GetContentSetting(const GURL& origin) const;
Dcontent_settings_notification_provider.cc97 ContentSetting NotificationProvider::GetContentSetting( in GetContentSetting() function in content_settings::NotificationProvider
105 return GetContentSetting(requesting_url); in GetContentSetting()
123 ContentSetting current_setting = GetContentSetting(origin); in SetContentSetting()
326 ContentSetting NotificationProvider::GetContentSetting( in GetContentSetting() function in content_settings::NotificationProvider
Dcontent_settings_provider.h81 virtual ContentSetting GetContentSetting(
/external/chromium_org/chrome/browser/ui/website_settings/
Dwebsite_settings_unittest.cc162 ContentSetting setting = content_settings->GetContentSetting( in TEST_F()
165 setting = content_settings->GetContentSetting( in TEST_F()
168 setting = content_settings->GetContentSetting( in TEST_F()
171 setting = content_settings->GetContentSetting( in TEST_F()
174 setting = content_settings->GetContentSetting( in TEST_F()
177 setting = content_settings->GetContentSetting( in TEST_F()
209 setting = content_settings->GetContentSetting( in TEST_F()
212 setting = content_settings->GetContentSetting( in TEST_F()
215 setting = content_settings->GetContentSetting( in TEST_F()
218 setting = content_settings->GetContentSetting( in TEST_F()
[all …]
/external/chromium_org/chrome/browser/geolocation/
Dchrome_geolocation_permission_context_unittest.cc339 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
343 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
389 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
394 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
446 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
457 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
462 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
504 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
509 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
624 profile()->GetHostContentSettingsMap()->GetContentSetting( in TEST_F()
[all …]
/external/chromium/chrome/browser/
Dcontent_setting_bubble_model_unittest.cc137 map->GetContentSetting(url, in TEST_F()
141 map->GetContentSetting(url, in TEST_F()
148 map->GetContentSetting(url, in TEST_F()
152 map->GetContentSetting(url, in TEST_F()
/external/chromium_org/chrome/browser/notifications/
Dnotification_options_menu_model.cc202 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) { in GetLabelForCommandId()
245 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) in ExecuteCommand()
/external/chromium/chrome/browser/notifications/
Dnotification_options_menu_model.cc179 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) { in GetLabelForCommandId()
221 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) in ExecuteCommand()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_broker_message_filter.cc68 content_settings->GetContentSetting(document_url_, document_url_, in OnIsAllowed()
/external/chromium_org/chrome/browser/media/
Dmedia_stream_devices_controller.cc415 if (profile_->GetHostContentSettingsMap()->GetContentSetting( in IsRequestAllowedByDefault()
433 if (profile_->GetHostContentSettingsMap()->GetContentSetting( in FilterBlockedByDefaultDevices()
446 if (profile_->GetHostContentSettingsMap()->GetContentSetting( in FilterBlockedByDefaultDevices()

123