Searched refs:CanonicalizeUrl (Results 1 – 8 of 8) sorted by relevance
/external/chromium/chrome/browser/net/ |
D | predictor_unittest.cc | 564 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 …]
|
D | predictor.cc | 207 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
|
D | predictor.h | 136 static GURL CanonicalizeUrl(const GURL& url);
|
D | predictor_api.cc | 259 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/ |
D | safe_browsing_util_unittest.cc | 66 TEST(SafeBrowsingUtilTest, CanonicalizeUrl) { in TEST() argument 271 safe_browsing_util::CanonicalizeUrl(url, &canonicalized_hostname, in TEST()
|
D | safe_browsing_util.cc | 261 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()
|
D | safe_browsing_util.h | 288 void CanonicalizeUrl(const GURL& url, std::string* canonicalized_hostname,
|
D | safe_browsing_service_browsertest.cc | 265 safe_browsing_util::CanonicalizeUrl(url, &host, &path, NULL); in GenUrlFullhashResult()
|