Home
last modified time | relevance | path

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

/external/chromium_org/url/
Dgurl_unittest.cc562 TEST(GURLTest, DomainIs) { in TEST() argument
566 EXPECT_TRUE(url_1.DomainIs(google_domain)); in TEST()
569 EXPECT_TRUE(url_2.DomainIs(google_domain)); in TEST()
572 EXPECT_TRUE(url_3.DomainIs(google_domain)); in TEST()
575 EXPECT_FALSE(url_4.DomainIs("google.com.")); in TEST()
578 EXPECT_TRUE(url_5.DomainIs("google.com.")); in TEST()
581 EXPECT_TRUE(url_6.DomainIs(".com.")); in TEST()
584 EXPECT_FALSE(url_7.DomainIs(google_domain)); in TEST()
587 EXPECT_FALSE(url_8.DomainIs(google_domain)); in TEST()
590 EXPECT_FALSE(url_9.DomainIs(google_domain)); in TEST()
[all …]
Dgurl.h347 bool DomainIs(const char* lower_ascii_domain, int domain_len) const;
351 bool DomainIs(const char* lower_ascii_domain) const { in DomainIs() function
352 return DomainIs(lower_ascii_domain, in DomainIs()
Dgurl.cc475 bool GURL::DomainIs(const char* lower_ascii_domain, in DomainIs() function in GURL
483 return inner_url_->DomainIs(lower_ascii_domain, domain_len); in DomainIs()
/external/chromium_org/chrome/browser/translate/
Dtranslate_service.cc125 url.DomainIs(file_manager::kFileManagerAppId)) && in IsTranslatableURL()
/external/chromium_org/chrome/utility/importer/
Dbookmarks_file_importer.cc56 if (fixed_url.DomainIs(chrome::kChromeHostURLs[i])) in CanImportURL()
Dbookmark_html_reader_unittest.cc317 return !url.DomainIs("tamurayukari.com"); in IsURLValid()
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_downloader.cc93 if ((url).DomainIs(kGoogleDotCom)) { \
322 if (update_url.DomainIs(kGoogleDotCom)) { in AddExtensionData()
601 if (fetch_data.base_url().DomainIs(kGoogleDotCom) && in HandleManifestResults()
884 if (fetch->url.DomainIs(kGoogleDotCom) && identity_provider_) { in IterateFetchCredentialsAfterFailure()
954 if (update_url.DomainIs(ping_enabled_domain_.c_str())) { in CreateManifestFetchData()
Dextension_updater_unittest.cc1272 if (enable_oauth2 && test_url.DomainIs("google.com")) { in TestProtectedDownload()
/external/chromium_org/components/password_manager/core/browser/
Dpassword_manager_metrics_util.cc82 if (url.DomainIs(kDomainMapping[i].domain_name)) in MonitoredDomainGroupId()
/external/chromium_org/content/browser/frame_host/
Ddebug_urls.cc63 url.DomainIs(kAsanCrashDomain, sizeof(kAsanCrashDomain) - 1) && in IsAsanDebugURL()
/external/chromium_org/chrome/browser/ui/webui/options/
Doptions_ui_browsertest.cc98 return frame->GetLastCommittedURL().DomainIs( in FrameHasSettingsSourceHost()
/external/chromium_org/net/base/
Dsdch_manager.cc245 return gurl.DomainIs(restriction.data(), restriction.size()); in DomainMatch()
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc670 if (request->url().DomainIs(webstore_url.host().c_str())) {
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.cc399 (url->DomainIs(chrome::kChromeUIBookmarksHost) || in HandleWebUI()
400 url->DomainIs(chrome::kChromeUIHistoryHost))) { in HandleWebUI()
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client.cc979 manifest_url.DomainIs("ssl.gstatic.com") && in IsNaClAllowed()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl_unittest.cc713 contents()->GetSiteInstance()->GetSiteURL().DomainIs("google.com")); in TEST_F()
/external/chromium_org/content/renderer/
Drender_frame_impl.cc276 if (!url.DomainIs(kCrashDomain, sizeof(kCrashDomain) - 1)) in MaybeTriggerAsanError()