Searched refs:allowed_origins (Results 1 – 4 of 4) sorted by relevance
143 std::vector<GURL> allowed_origins = GetAllowedOrigins(); in GetAllContentSettingsRules() local146 for (std::vector<GURL>::iterator url = allowed_origins.begin(); in GetAllContentSettingsRules()147 url != allowed_origins.end(); in GetAllContentSettingsRules()236 std::vector<GURL> allowed_origins; in GetAllowedOrigins() local243 &allowed_origins); in GetAllowedOrigins()245 return allowed_origins; in GetAllowedOrigins()333 std::vector<GURL> allowed_origins(GetAllowedOrigins()); in GetContentSetting() local334 if (std::find(allowed_origins.begin(), allowed_origins.end(), origin) != in GetContentSetting()335 allowed_origins.end()) in GetContentSetting()
14 std::vector<GURL> allowed_origins; in TEST() local15 allowed_origins.push_back(GURL("http://allowed.com")); in TEST()23 cache->SetCacheAllowedOrigins(allowed_origins); in TEST()
205 ListValue* allowed_origins = update_allowed_origins.Get(); in TEST_F() local206 allowed_origins->Append(new StringValue(GURL("http://allowed.com").spec())); in TEST_F()226 std::vector<GURL> allowed_origins(service_->GetAllowedOrigins()); in TEST_F() local227 ASSERT_EQ(2u, allowed_origins.size()); in TEST_F()228 EXPECT_EQ(GURL("http://allowed2.com"), allowed_origins[0]); in TEST_F()229 EXPECT_EQ(GURL("http://allowed.com"), allowed_origins[1]); in TEST_F()
281 std::vector<GURL> allowed_origins; in InitPrefs() local289 allowed_origins = GetAllowedOrigins(); in InitPrefs()295 prefs_cache_->SetCacheAllowedOrigins(allowed_origins); in InitPrefs()395 std::vector<GURL> allowed_origins(GetAllowedOrigins()); in OnPrefsChanged() local401 allowed_origins)); in OnPrefsChanged()443 std::vector<GURL> allowed_origins; in GetAllowedOrigins() local446 content_setting_rules, CONTENT_SETTING_ALLOW, &allowed_origins); in GetAllowedOrigins()448 return allowed_origins; in GetAllowedOrigins()