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

/external/chromium/googleurl/src/
H A Dgurl_unittest.cc376 TEST(GURLTest, DomainIs) {
380 EXPECT_TRUE(url_1.DomainIs(google_domain));
383 EXPECT_TRUE(url_2.DomainIs(google_domain));
386 EXPECT_TRUE(url_3.DomainIs(google_domain));
389 EXPECT_FALSE(url_4.DomainIs("google.com."));
392 EXPECT_TRUE(url_5.DomainIs("google.com."));
395 EXPECT_TRUE(url_6.DomainIs(".com."));
398 EXPECT_FALSE(url_7.DomainIs(google_domain));
401 EXPECT_FALSE(url_8.DomainIs(google_domain));
404 EXPECT_FALSE(url_9.DomainIs(google_domai
[all...]
H A Dgurl.h330 // If function DomainIs has parameter domain_len, which means the parameter
332 GURL_API bool DomainIs(const char* lower_ascii_domain, int domain_len) const;
334 // If function DomainIs only has parameter lower_ascii_domain, which means
336 bool DomainIs(const char* lower_ascii_domain) const { function in class:GURL
337 return DomainIs(lower_ascii_domain,
H A Dgurl.cc412 bool GURL::DomainIs(const char* lower_ascii_domain, function in class:GURL
/external/chromium/chrome/browser/chromeos/
H A Dplugin_selection_policy.cc157 if (policy_domain.empty() || url.DomainIs(policy_domain.c_str(),
/external/chromium/net/base/
H A Dsdch_manager.cc201 return gurl.DomainIs(restriction.data(), restriction.size());
305 !url.DomainIs(supported_domain_.data(), supported_domain_.size()))
/external/chromium/chrome/browser/extensions/
H A Dextension_updater.cc121 if (base_url_.DomainIs("google.com")) {
308 if (update_url.DomainIs("google.com")) {
763 if (fetch_data.base_url().DomainIs("google.com") &&

Completed in 1268 milliseconds