Home
last modified time | relevance | path

Searched refs:CanonicalizeUrl (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/net/
Dpredictor_unittest.cc564 TEST_F(PredictorTest, CanonicalizeUrl) { in TEST_F() argument
566 EXPECT_EQ(GURL(), Predictor::CanonicalizeUrl(GURL("ftp://anything"))); in TEST_F()
570 EXPECT_EQ(Predictor::CanonicalizeUrl(long_url), long_url.GetWithEmptyPath()); in TEST_F()
575 EXPECT_EQ(Predictor::CanonicalizeUrl(implied_port), in TEST_F()
576 Predictor::CanonicalizeUrl(explicit_port)); in TEST_F()
581 EXPECT_NE(Predictor::CanonicalizeUrl(port_80), in TEST_F()
582 Predictor::CanonicalizeUrl(port_90)); in TEST_F()
587 EXPECT_NE(Predictor::CanonicalizeUrl(host_1), in TEST_F()
588 Predictor::CanonicalizeUrl(host_2)); in TEST_F()
593 EXPECT_NE(Predictor::CanonicalizeUrl(http), in TEST_F()
[all …]
Dpredictor.cc207 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, in AnticipateOmniboxUrl()
232 NewRunnableMethod(this, &Predictor::Resolve, CanonicalizeUrl(url), in AnticipateOmniboxUrl()
241 PreconnectOnUIThread(CanonicalizeUrl(url), motivation, in PreconnectUrlAndSubresources()
750 GURL Predictor::CanonicalizeUrl(const GURL& url) { in CanonicalizeUrl() function in chrome_browser_net::Predictor
Dpredictor.h136 static GURL CanonicalizeUrl(const GURL& url);
Dpredictor_api.cc259 const GURL url_without_path(Predictor::CanonicalizeUrl(url)); in Append()
274 DCHECK(it->first == Predictor::CanonicalizeUrl(it->first)); in GetInitialDnsResolutionList()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc66 TEST(SafeBrowsingUtilTest, CanonicalizeUrl) { in TEST() argument
271 safe_browsing_util::CanonicalizeUrl(url, &canonicalized_hostname, in TEST()
Dsafe_browsing_util.cc261 void CanonicalizeUrl(const GURL& url, in CanonicalizeUrl() function
354 CanonicalizeUrl(url, &canon_host, NULL, NULL); in GenerateHostsToCheck()
392 CanonicalizeUrl(url, NULL, &canon_path, &canon_query); in GeneratePathsToCheck()
Dsafe_browsing_util.h288 void CanonicalizeUrl(const GURL& url, std::string* canonicalized_hostname,
Dsafe_browsing_service_browsertest.cc265 safe_browsing_util::CanonicalizeUrl(url, &host, &path, NULL); in GenUrlFullhashResult()