Home
last modified time | relevance | path

Searched refs:CONTENT_SETTING_ALLOW (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium/chrome/browser/geolocation/
Dgeolocation_content_settings_map_unittest.cc84 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 …]
Dgeolocation_settings_state_unittest.cc37 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 …]
Dgeolocation_exceptions_table_model_unittest.cc43 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()
Dgeolocation_settings_state.cc26 allowed ? CONTENT_SETTING_ALLOW : CONTENT_SETTING_BLOCK; in OnGeolocationPermissionSet()
72 if (i->second == CONTENT_SETTING_ALLOW) in GetDetailedInfo()
Dgeolocation_permission_context_unittest.cc230 CheckTabContentsState(requesting_frame_0, CONTENT_SETTING_ALLOW); in TEST_F()
256 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
305 CheckTabContentsState(requesting_frame_1, CONTENT_SETTING_ALLOW); in TEST_F()
316 EXPECT_EQ(CONTENT_SETTING_ALLOW, in TEST_F()
/external/chromium/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc51 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 …]
Dcontent_settings_provider_unittest.cc14 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()
Dcontent_settings_pref_provider_unittest.cc65 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()
Dcontent_settings_policy_provider_unittest.cc163 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()
Dcontent_settings_notification_provider.cc118 if (CONTENT_SETTING_ALLOW == content_setting) { in SetContentSetting()
124 if (CONTENT_SETTING_ALLOW == current_setting) { in SetContentSetting()
154 CONTENT_SETTING_ALLOW)); in GetAllContentSettingsRules()
336 return CONTENT_SETTING_ALLOW; in GetContentSetting()
Dcontent_settings_policy_provider.cc53 CONTENT_SETTING_ALLOW
65 CONTENT_SETTING_ALLOW
73 CONTENT_SETTING_ALLOW
81 CONTENT_SETTING_ALLOW
89 CONTENT_SETTING_ALLOW
Dcontent_settings_pref_provider.cc47 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_COOKIES
48 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_IMAGES
49 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_JAVASCRIPT
50 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_PLUGINS
54 CONTENT_SETTING_ALLOW, // CONTENT_SETTINGS_TYPE_PRERENDER
830 CONTENT_SETTING_ALLOW); in MigrateObsoletePopupsPref()
Dhost_content_settings_map.cc166 return CONTENT_SETTING_ALLOW; in GetNonDefaultContentSetting()
203 return ContentSettings(CONTENT_SETTING_ALLOW); in GetNonDefaultContentSettings()
472 CONTENT_SETTING_BLOCK : CONTENT_SETTING_ALLOW); in MigrateObsoleteCookiePref()
/external/chromium/chrome/browser/
Dcontent_setting_combo_model.cc16 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()
Dcontent_setting_bubble_model_unittest.cc113 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()
Dcontent_setting_bubble_model.cc178 selected_item_ == 0 ? CONTENT_SETTING_ALLOW : block_setting_; in ~ContentSettingSingleRadioGroup()
275 mostRestrictiveSetting = CONTENT_SETTING_ALLOW; in SetRadioGroup()
289 if (mostRestrictiveSetting == CONTENT_SETTING_ALLOW) { in SetRadioGroup()
441 MaybeAddDomainList(formatted_hosts_per_state[CONTENT_SETTING_ALLOW], in SetDomainsAndCustomLink()
Dplugin_exceptions_table_model_unittest.cc75 CONTENT_SETTING_ALLOW); in SetUp()
83 CONTENT_SETTING_ALLOW); in SetUp()
/external/chromium/chrome/browser/notifications/
Dnotification_exceptions_table_model.cc49 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()
Dnotification_options_menu_model.cc179 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) { in GetLabelForCommandId()
221 if (service->GetContentSetting(origin) == CONTENT_SETTING_ALLOW) in ExecuteCommand()
Dnotifications_prefs_cache_unittest.cc54 cache->SetCacheDefaultContentSetting(CONTENT_SETTING_ALLOW); in TEST()
/external/chromium/chrome/common/
Dcontent_settings.h15 CONTENT_SETTING_ALLOW, enumerator
Dcommon_param_traits.cc31 case CONTENT_SETTING_ALLOW: in Log()
/external/chromium/chrome/browser/ui/webui/
Dcollected_cookies_ui_delegate.cc51 case CONTENT_SETTING_ALLOW: in GetInfobarLabel()
275 AddContentException(origin_node, CONTENT_SETTING_ALLOW); in Allow()
/external/chromium/chrome/browser/ui/webui/options/
Dcontent_settings_handler.cc67 case CONTENT_SETTING_ALLOW: in ContentSettingToString()
86 return CONTENT_SETTING_ALLOW; in ContentSettingFromString()
488 GetNotificationExceptionForPage(allowed[i], CONTENT_SETTING_ALLOW)); in UpdateNotificationExceptionsView()
620 if (content_setting == CONTENT_SETTING_ALLOW) { in RemoveException()
/external/chromium/chrome/browser/net/
Dchrome_cookie_policy.cc71 if (setting == CONTENT_SETTING_ALLOW) in CheckPolicy()

12