/external/chromium_org/url/ |
D | gurl_unittest.cc | 562 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 …]
|
D | gurl.h | 347 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()
|
D | gurl.cc | 475 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/ |
D | translate_service.cc | 125 url.DomainIs(file_manager::kFileManagerAppId)) && in IsTranslatableURL()
|
/external/chromium_org/chrome/utility/importer/ |
D | bookmarks_file_importer.cc | 56 if (fixed_url.DomainIs(chrome::kChromeHostURLs[i])) in CanImportURL()
|
D | bookmark_html_reader_unittest.cc | 317 return !url.DomainIs("tamurayukari.com"); in IsURLValid()
|
/external/chromium_org/chrome/browser/extensions/updater/ |
D | extension_downloader.cc | 93 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()
|
D | extension_updater_unittest.cc | 1272 if (enable_oauth2 && test_url.DomainIs("google.com")) { in TestProtectedDownload()
|
/external/chromium_org/components/password_manager/core/browser/ |
D | password_manager_metrics_util.cc | 82 if (url.DomainIs(kDomainMapping[i].domain_name)) in MonitoredDomainGroupId()
|
/external/chromium_org/content/browser/frame_host/ |
D | debug_urls.cc | 63 url.DomainIs(kAsanCrashDomain, sizeof(kAsanCrashDomain) - 1) && in IsAsanDebugURL()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | options_ui_browsertest.cc | 98 return frame->GetLastCommittedURL().DomainIs( in FrameHasSettingsSourceHost()
|
/external/chromium_org/net/base/ |
D | sdch_manager.cc | 245 return gurl.DomainIs(restriction.data(), restriction.size()); in DomainMatch()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | chrome_resource_dispatcher_host_delegate.cc | 670 if (request->url().DomainIs(webstore_url.host().c_str())) {
|
/external/chromium_org/chrome/browser/ |
D | chrome_content_browser_client.cc | 399 (url->DomainIs(chrome::kChromeUIBookmarksHost) || in HandleWebUI() 400 url->DomainIs(chrome::kChromeUIHistoryHost))) { in HandleWebUI()
|
/external/chromium_org/chrome/renderer/ |
D | chrome_content_renderer_client.cc | 979 manifest_url.DomainIs("ssl.gstatic.com") && in IsNaClAllowed()
|
/external/chromium_org/content/browser/web_contents/ |
D | web_contents_impl_unittest.cc | 713 contents()->GetSiteInstance()->GetSiteURL().DomainIs("google.com")); in TEST_F()
|
/external/chromium_org/content/renderer/ |
D | render_frame_impl.cc | 276 if (!url.DomainIs(kCrashDomain, sizeof(kCrashDomain) - 1)) in MaybeTriggerAsanError()
|