Home
last modified time | relevance | path

Searched refs:DomainIs (Results 1 – 6 of 6) sorted by relevance

/external/chromium/googleurl/src/
Dgurl_unittest.cc376 TEST(GURLTest, DomainIs) { in TEST() argument
380 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 …]
Dgurl.h332 GURL_API bool DomainIs(const char* lower_ascii_domain, int domain_len) const;
336 bool DomainIs(const char* lower_ascii_domain) const { in DomainIs() function
337 return DomainIs(lower_ascii_domain, in DomainIs()
Dgurl.cc412 bool GURL::DomainIs(const char* lower_ascii_domain, in DomainIs() function in GURL
/external/chromium/chrome/browser/chromeos/
Dplugin_selection_policy.cc157 if (policy_domain.empty() || url.DomainIs(policy_domain.c_str(), in IsAllowed()
/external/chromium/net/base/
Dsdch_manager.cc201 return gurl.DomainIs(restriction.data(), restriction.size()); in DomainMatch()
305 !url.DomainIs(supported_domain_.data(), supported_domain_.size())) in IsInSupportedDomain()
/external/chromium/chrome/browser/extensions/
Dextension_updater.cc121 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()