/external/chromium_org/chrome/browser/ui/webui/options/ |
D | pepper_flash_content_settings_utils_unittest.cc | 26 CONTENT_SETTING_ALLOW, CONTENT_SETTING_ASK); in TEST() 32 CONTENT_SETTING_SESSION_ONLY, CONTENT_SETTING_ALLOW); in TEST() 81 CONTENT_SETTING_ALLOW, CONTENT_SETTING_ALLOW), in TEST() 88 CONTENT_SETTING_ALLOW, CONTENT_SETTING_ALLOW) in TEST() 94 CONTENT_SETTING_ALLOW, in TEST() 103 CONTENT_SETTING_ALLOW, in TEST() 109 CONTENT_SETTING_ALLOW, in TEST() 111 CONTENT_SETTING_ALLOW, in TEST() 124 CONTENT_SETTING_ALLOW, CONTENT_SETTING_ALLOW) in TEST() 129 CONTENT_SETTING_ALLOW, CONTENT_SETTING_ALLOW) in TEST() [all …]
|
/external/chromium/chrome/browser/geolocation/ |
D | geolocation_content_settings_map_unittest.cc | 84 map->SetContentSetting(top_level, top_level, CONTENT_SETTING_ALLOW); in TEST_F() 85 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 92 map->SetContentSetting(requester_0, top_level, CONTENT_SETTING_ALLOW); in TEST_F() 93 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 95 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 101 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 117 map->SetContentSetting(requester_0, embedder_0, CONTENT_SETTING_ALLOW); in TEST_F() 118 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 123 map->SetContentSetting(requester_1, embedder_0, CONTENT_SETTING_ALLOW); in TEST_F() 124 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() [all …]
|
D | geolocation_settings_state_unittest.cc | 37 url_0, url_0, CONTENT_SETTING_ALLOW); in TEST_F() 64 EXPECT_EQ(1U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 66 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() 91 EXPECT_EQ(0U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 134 url_0, url_0, CONTENT_SETTING_ALLOW); in TEST_F() 139 url_1, url_0, CONTENT_SETTING_ALLOW); in TEST_F() 144 url_2, url_0, CONTENT_SETTING_ALLOW); in TEST_F() 155 EXPECT_EQ(3U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 157 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() 160 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() [all …]
|
D | geolocation_exceptions_table_model_unittest.cc | 43 map->SetContentSetting(kUrl0, kUrl0, CONTENT_SETTING_ALLOW); in CreateAllowedSamples() 44 map->SetContentSetting(kUrl0, kUrl1, CONTENT_SETTING_ALLOW); in CreateAllowedSamples() 45 map->SetContentSetting(kUrl0, kUrl2, CONTENT_SETTING_ALLOW); in CreateAllowedSamples() 62 map->SetContentSetting(kUrl0, kUrl0, CONTENT_SETTING_ALLOW); in TEST_F() 72 map->SetContentSetting(kUrl0, kUrl1, CONTENT_SETTING_ALLOW); 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()
|
/external/chromium/chrome/browser/content_settings/ |
D | host_content_settings_map_unittest.cc | 51 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 59 EXPECT_EQ(CONTENT_SETTING_ALLOW, host_content_settings_map->GetContentSetting( in TEST_F() 75 CONTENT_SETTINGS_TYPE_POPUPS, CONTENT_SETTING_ALLOW); in TEST_F() 76 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 80 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 87 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 92 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 100 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 107 CONTENT_SETTING_ALLOW; in TEST_F() 111 CONTENT_SETTING_ALLOW; in TEST_F() [all …]
|
D | content_settings_provider_unittest.cc | 14 CONTENT_SETTING_ALLOW, in TEST() 17 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST() 52 CONTENT_SETTING_ALLOW); in TEST() 53 EXPECT_EQ(CONTENT_SETTING_ALLOW, mock_provider.GetContentSetting( in TEST() 63 EXPECT_EQ(CONTENT_SETTING_ALLOW, mock_provider.GetContentSetting( in TEST()
|
D | content_settings_pref_provider_unittest.cc | 65 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 72 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 110 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 127 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 129 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 143 CONTENT_SETTING_ALLOW); in TEST_F() 187 CONTENT_SETTING_ALLOW); in TEST_F() 243 CONTENT_SETTING_ALLOW); in TEST_F() 247 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 251 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
|
D | content_settings_policy_provider_unittest.cc | 163 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 170 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 177 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
|
/external/chromium_org/chrome/browser/content_settings/ |
D | content_settings_usages_state_unittest.cc | 45 CONTENT_SETTING_ALLOW); in ClearOnNewOrigin() 76 EXPECT_EQ(1U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in ClearOnNewOrigin() 78 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in ClearOnNewOrigin() 103 EXPECT_EQ(0U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in ClearOnNewOrigin() 150 CONTENT_SETTING_ALLOW); in ShowPortOnSameHost() 159 CONTENT_SETTING_ALLOW); in ShowPortOnSameHost() 168 CONTENT_SETTING_ALLOW); in ShowPortOnSameHost() 179 EXPECT_EQ(3U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in ShowPortOnSameHost() 181 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in ShowPortOnSameHost() 184 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in ShowPortOnSameHost() [all …]
|
D | host_content_settings_map_unittest.cc | 46 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 54 EXPECT_EQ(CONTENT_SETTING_ALLOW, host_content_settings_map->GetContentSetting( in TEST_F() 67 CONTENT_SETTINGS_TYPE_POPUPS, CONTENT_SETTING_ALLOW); in TEST_F() 68 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 82 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 91 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 103 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 114 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 131 CONTENT_SETTING_ALLOW); in TEST_F() 132 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() [all …]
|
D | content_settings_default_provider_unittest.cc | 40 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 96 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 112 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 173 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 194 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 201 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 235 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F()
|
D | content_settings_provider_unittest.cc | 68 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST() 70 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST() 85 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST()
|
D | content_settings_pref_provider_unittest.cc | 125 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F() 174 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F() 178 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 186 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 410 Value::CreateIntegerValue(CONTENT_SETTING_ALLOW)); in TEST_F() 411 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
|
D | cookie_settings_unittest.cc | 123 CONTENT_SETTING_ALLOW); in TEST_F() 148 CONTENT_SETTING_ALLOW); in TEST_F() 155 CONTENT_SETTING_ALLOW); in TEST_F() 206 CONTENT_SETTING_ALLOW); in TEST_F() 226 CONTENT_SETTING_ALLOW); in TEST_F()
|
D | content_settings_internal_extension_provider.cc | 35 SetContentSettingForExtension(it->get(), CONTENT_SETTING_ALLOW); in InternalExtensionProvider() 96 CONTENT_SETTING_ALLOW); in Observe() 106 SetContentSettingForExtension(extension, CONTENT_SETTING_ALLOW); in Observe()
|
D | content_settings_default_provider.cc | 36 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_COOKIES 37 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_IMAGES 38 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_JAVASCRIPT 39 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_PLUGINS
|
/external/chromium_org/chrome/browser/geolocation/ |
D | geolocation_settings_state_unittest.cc | 48 CONTENT_SETTING_ALLOW); in TEST_F() 79 EXPECT_EQ(1U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 81 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() 106 EXPECT_EQ(0U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 153 CONTENT_SETTING_ALLOW); in TEST_F() 162 CONTENT_SETTING_ALLOW); in TEST_F() 171 CONTENT_SETTING_ALLOW); in TEST_F() 182 EXPECT_EQ(3U, formatted_host_per_state[CONTENT_SETTING_ALLOW].size()); in TEST_F() 184 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() 187 formatted_host_per_state[CONTENT_SETTING_ALLOW].count( in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
D | content_settings_apitest.cc | 78 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsSet() 88 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsSet() 101 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsSet() 116 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsSet() 125 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsSet() 150 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsDefault() 153 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsDefault() 156 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsDefault() 165 EXPECT_EQ(CONTENT_SETTING_ALLOW, in CheckContentSettingsDefault()
|
D | content_settings_store_unittest.cc | 132 CONTENT_SETTING_ALLOW, in TEST_F() 136 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 208 CONTENT_SETTING_ALLOW, in TEST_F() 214 CheckRule(rules[0], pattern, pattern, CONTENT_SETTING_ALLOW); in TEST_F() 234 CheckRule(rules[1], pattern, pattern, CONTENT_SETTING_ALLOW); in TEST_F()
|
/external/chromium/chrome/browser/ |
D | content_setting_combo_model.cc | 16 const ContentSetting kNoSessionSettings[] = { CONTENT_SETTING_ALLOW, 20 const ContentSetting kSessionSettings[] = { CONTENT_SETTING_ALLOW, 25 const ContentSetting kAskSettings[] = { CONTENT_SETTING_ALLOW, 49 case CONTENT_SETTING_ALLOW: in GetItemAt()
|
D | content_setting_bubble_model_unittest.cc | 113 CONTENT_SETTING_ALLOW); in TEST_F() 136 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 147 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 151 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 173 setting_map->SetContentSetting(frame1_url, page_url, CONTENT_SETTING_ALLOW); in TEST_F() 177 setting_map->SetDefaultContentSetting(CONTENT_SETTING_ALLOW); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
D | website_settings_unittest.cc | 167 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() 198 CONTENT_SETTING_ALLOW); in TEST_F() 202 CONTENT_SETTING_ALLOW); in TEST_F() 204 CONTENT_SETTINGS_TYPE_NOTIFICATIONS, CONTENT_SETTING_ALLOW); in TEST_F() 206 CONTENT_SETTINGS_TYPE_MEDIASTREAM, CONTENT_SETTING_ALLOW); in TEST_F() 211 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() 217 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() 220 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() 223 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() 226 EXPECT_EQ(setting, CONTENT_SETTING_ALLOW); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
D | fullscreen_controller.cc | 133 GetFullscreenSetting(url) == CONTENT_SETTING_ALLOW; in ToggleFullscreenModeForTab() 237 case CONTENT_SETTING_ALLOW: in RequestToLockMouse() 346 CONTENT_SETTING_ALLOW); in OnAcceptFullscreenPermission() 365 CONTENT_SETTING_ALLOW); in OnAcceptFullscreenPermission() 587 GetFullscreenSetting(url) == CONTENT_SETTING_ALLOW; 662 return CONTENT_SETTING_ALLOW; 671 return CONTENT_SETTING_ALLOW;
|
/external/chromium/chrome/browser/notifications/ |
D | notification_exceptions_table_model.cc | 49 if (entry->setting == CONTENT_SETTING_ALLOW) { in RemoveRows() 82 case CONTENT_SETTING_ALLOW: in GetText() 119 entries_.push_back(Entry(allowed[i], CONTENT_SETTING_ALLOW)); in LoadEntries()
|
/external/chromium_org/chrome/browser/notifications/ |
D | desktop_notification_service_unittest.cc | 45 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F() 50 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
|