Searched defs:allowed_origins (Results 1 - 4 of 4) sorted by relevance

/external/chromium/chrome/browser/notifications/
H A Dnotifications_prefs_cache_unittest.cc14 std::vector<GURL> allowed_origins; local
15 allowed_origins.push_back(GURL("http://allowed.com"));
23 cache->SetCacheAllowedOrigins(allowed_origins);
H A Ddesktop_notification_service_unittest.cc205 ListValue* allowed_origins = update_allowed_origins.Get(); local
206 allowed_origins->Append(new StringValue(GURL("http://allowed.com").spec()));
226 std::vector<GURL> allowed_origins(service_->GetAllowedOrigins());
227 ASSERT_EQ(2u, allowed_origins.size());
228 EXPECT_EQ(GURL("http://allowed2.com"), allowed_origins[0]);
229 EXPECT_EQ(GURL("http://allowed.com"), allowed_origins[1]);
H A Ddesktop_notification_service.cc281 std::vector<GURL> allowed_origins; local
289 allowed_origins = GetAllowedOrigins();
295 prefs_cache_->SetCacheAllowedOrigins(allowed_origins);
395 std::vector<GURL> allowed_origins(GetAllowedOrigins());
401 allowed_origins));
443 std::vector<GURL> allowed_origins; local
446 content_setting_rules, CONTENT_SETTING_ALLOW, &allowed_origins);
448 return allowed_origins;
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_notification_provider.cc143 std::vector<GURL> allowed_origins = GetAllowedOrigins();
146 for (std::vector<GURL>::iterator url = allowed_origins.begin();
147 url != allowed_origins.end();
236 std::vector<GURL> allowed_origins; local
243 &allowed_origins);
245 return allowed_origins;
333 std::vector<GURL> allowed_origins(GetAllowedOrigins());
334 if (std::find(allowed_origins.begin(), allowed_origins.end(), origin) !=
335 allowed_origins
[all...]

Completed in 85 milliseconds