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

/external/chromium_org/url/
H A Dgurl_unittest.cc451 TEST(GURLTest, DomainIs) {
455 EXPECT_TRUE(url_1.DomainIs(google_domain));
458 EXPECT_TRUE(url_2.DomainIs(google_domain));
461 EXPECT_TRUE(url_3.DomainIs(google_domain));
464 EXPECT_FALSE(url_4.DomainIs("google.com."));
467 EXPECT_TRUE(url_5.DomainIs("google.com."));
470 EXPECT_TRUE(url_6.DomainIs(".com."));
473 EXPECT_FALSE(url_7.DomainIs(google_domain));
476 EXPECT_FALSE(url_8.DomainIs(google_domain));
479 EXPECT_FALSE(url_9.DomainIs(google_domai
[all...]
H A Dgurl.h324 // If function DomainIs has parameter domain_len, which means the parameter
326 bool DomainIs(const char* lower_ascii_domain, int domain_len) const;
328 // If function DomainIs only has parameter lower_ascii_domain, which means
330 bool DomainIs(const char* lower_ascii_domain) const { function in class:GURL
331 return DomainIs(lower_ascii_domain,
H A Dgurl.cc469 bool GURL::DomainIs(const char* lower_ascii_domain, function in class:GURL
477 return inner_url_->DomainIs(lower_ascii_domain, domain_len);
/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_org/chrome/utility/importer/
H A Dbookmarks_file_importer.cc52 if (fixed_url.DomainIs(chrome::kChromeHostURLs[i]))
H A Dbookmark_html_reader_unittest.cc253 return !url.DomainIs("tamurayukari.com");
/external/chromium/chrome/browser/chromeos/
H A Dplugin_selection_policy.cc157 if (policy_domain.empty() || url.DomainIs(policy_domain.c_str(),
/external/chromium_org/chrome/browser/extensions/updater/
H A Dmanifest_fetch_data.cc90 if (base_url_.DomainIs("google.com")) {
H A Dextension_downloader.cc89 if ((url).DomainIs("google.com")) \
284 if (update_url.DomainIs("google.com")) {
558 if (fetch_data.base_url().DomainIs("google.com") &&
/external/chromium_org/chrome/browser/
H A Dpepper_broker_infobar_delegate.cc56 url.DomainIs(kNetflixDomain)) {
H A Dchrome_content_browser_client.cc363 (url->DomainIs(chrome::kChromeUIBookmarksHost) ||
364 url->DomainIs(chrome::kChromeUIHistoryHost))) {
/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") &&
/external/chromium_org/net/base/
H A Dsdch_manager.cc205 return gurl.DomainIs(restriction.data(), restriction.size());
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_resource_dispatcher_host_delegate.cc593 if (request->url().DomainIs(webstore_url.host().c_str())) {
/external/chromium_org/chrome/browser/translate/
H A Dtranslate_manager.cc109 url.DomainIs(kFileBrowserDomain)) &&
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_impl_unittest.cc655 contents()->GetSiteInstance()->GetSiteURL().DomainIs("google.com"));
/external/chromium_org/content/renderer/
H A Drender_view_impl.cc464 if (!url.DomainIs(kCrashDomain, sizeof(kCrashDomain) - 1))

Completed in 539 milliseconds