Home
last modified time | relevance | path

Searched refs:denied_origins (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/content_settings/
Dcontent_settings_notification_provider.cc144 std::vector<GURL> denied_origins = GetBlockedOrigins(); in GetAllContentSettingsRules() local
156 for (std::vector<GURL>::iterator url = denied_origins.begin(); in GetAllContentSettingsRules()
157 url != denied_origins.end(); in GetAllContentSettingsRules()
249 std::vector<GURL> denied_origins; in GetBlockedOrigins() local
256 &denied_origins); in GetBlockedOrigins()
258 return denied_origins; in GetBlockedOrigins()
338 std::vector<GURL> denied_origins(GetBlockedOrigins()); in GetContentSetting() local
339 if (std::find(denied_origins.begin(), denied_origins.end(), origin) != in GetContentSetting()
340 denied_origins.end()) in GetContentSetting()
/external/chromium/chrome/browser/notifications/
Dnotifications_prefs_cache_unittest.cc16 std::vector<GURL> denied_origins; in TEST() local
17 denied_origins.push_back(GURL("http://denied.com")); in TEST()
24 cache->SetCacheDeniedOrigins(denied_origins); in TEST()
Ddesktop_notification_service_unittest.cc212 ListValue* denied_origins = update_denied_origins.Get(); in TEST_F() local
213 denied_origins->Append(new StringValue(GURL("http://denied.com").spec())); in TEST_F()
236 std::vector<GURL> denied_origins(service_->GetBlockedOrigins()); in TEST_F() local
237 ASSERT_EQ(2u, denied_origins.size()); in TEST_F()
238 EXPECT_EQ(GURL("http://denied2.com"), denied_origins[0]); in TEST_F()
239 EXPECT_EQ(GURL("http://denied.com"), denied_origins[1]); in TEST_F()
Ddesktop_notification_service.cc282 std::vector<GURL> denied_origins; in InitPrefs() local
290 denied_origins = GetBlockedOrigins(); in InitPrefs()
296 prefs_cache_->SetCacheDeniedOrigins(denied_origins); in InitPrefs()
404 std::vector<GURL> denied_origins(GetBlockedOrigins()); in OnPrefsChanged() local
410 denied_origins)); in OnPrefsChanged()
457 std::vector<GURL> denied_origins; in GetBlockedOrigins() local
460 content_settings_rules, CONTENT_SETTING_BLOCK, &denied_origins); in GetBlockedOrigins()
462 return denied_origins; in GetBlockedOrigins()