Searched refs:DomainIs (Results 1 – 6 of 6) sorted by relevance
376 TEST(GURLTest, DomainIs) { in TEST() argument380 EXPECT_TRUE(url_1.DomainIs(google_domain)); in TEST()383 EXPECT_TRUE(url_2.DomainIs(google_domain)); in TEST()386 EXPECT_TRUE(url_3.DomainIs(google_domain)); in TEST()389 EXPECT_FALSE(url_4.DomainIs("google.com.")); in TEST()392 EXPECT_TRUE(url_5.DomainIs("google.com.")); in TEST()395 EXPECT_TRUE(url_6.DomainIs(".com.")); in TEST()398 EXPECT_FALSE(url_7.DomainIs(google_domain)); in TEST()401 EXPECT_FALSE(url_8.DomainIs(google_domain)); in TEST()404 EXPECT_FALSE(url_9.DomainIs(google_domain)); in TEST()[all …]
332 GURL_API bool DomainIs(const char* lower_ascii_domain, int domain_len) const;336 bool DomainIs(const char* lower_ascii_domain) const { in DomainIs() function337 return DomainIs(lower_ascii_domain, in DomainIs()
412 bool GURL::DomainIs(const char* lower_ascii_domain, in DomainIs() function in GURL
157 if (policy_domain.empty() || url.DomainIs(policy_domain.c_str(), in IsAllowed()
201 return gurl.DomainIs(restriction.data(), restriction.size()); in DomainMatch()305 !url.DomainIs(supported_domain_.data(), supported_domain_.size())) in IsInSupportedDomain()
121 if (base_url_.DomainIs("google.com")) { in AddExtension()308 if (update_url.DomainIs("google.com")) { in AddExtensionData()763 if (fetch_data.base_url().DomainIs("google.com") && in HandleManifestResults()