Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/net/
Dpredictor_unittest.cc642 TEST_F(PredictorTest, CanonicalizeUrl) { in TEST_F() argument
644 EXPECT_EQ(GURL(), Predictor::CanonicalizeUrl(GURL("ftp://anything"))); in TEST_F()
648 EXPECT_EQ(Predictor::CanonicalizeUrl(long_url), long_url.GetWithEmptyPath()); in TEST_F()
653 EXPECT_EQ(Predictor::CanonicalizeUrl(implied_port), in TEST_F()
654 Predictor::CanonicalizeUrl(explicit_port)); in TEST_F()
659 EXPECT_NE(Predictor::CanonicalizeUrl(port_80), in TEST_F()
660 Predictor::CanonicalizeUrl(port_90)); in TEST_F()
665 EXPECT_NE(Predictor::CanonicalizeUrl(host_1), in TEST_F()
666 Predictor::CanonicalizeUrl(host_2)); in TEST_F()
671 EXPECT_NE(Predictor::CanonicalizeUrl(http), in TEST_F()
[all …]
Dpredictor.cc278 CanonicalizeUrl(url), GURL(), motivation, kConnectionsNeeded); in AnticipateOmniboxUrl()
302 CanonicalizeUrl(url), motivation)); in AnticipateOmniboxUrl()
317 PreconnectUrl(CanonicalizeUrl(url), first_party_for_cookies, in PreconnectUrlAndSubresources()
472 DCHECK_EQ(referring_url, Predictor::CanonicalizeUrl(referring_url)); in LearnFromNavigation()
474 DCHECK_EQ(target_url, Predictor::CanonicalizeUrl(target_url)); in LearnFromNavigation()
1252 DCHECK_EQ(url, Predictor::CanonicalizeUrl(url)); in Append()
1268 DCHECK(it->first == Predictor::CanonicalizeUrl(it->first)); in GetInitialDnsResolutionList()
1297 GURL Predictor::CanonicalizeUrl(const GURL& url) { in CanonicalizeUrl() function in chrome_browser_net::Predictor
Dconnect_interceptor.cc24 GURL request_scheme_host(Predictor::CanonicalizeUrl(request->url())); in WitnessURLRequest()
Dpredictor.h268 static GURL CanonicalizeUrl(const GURL& url);
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc63 TEST(SafeBrowsingUtilTest, CanonicalizeUrl) { in TEST() argument
268 safe_browsing_util::CanonicalizeUrl(url, &canonicalized_hostname, in TEST()
Dsafe_browsing_util.cc309 void CanonicalizeUrl(const GURL& url, in CanonicalizeUrl() function
411 CanonicalizeUrl(url, &canon_host, NULL, NULL); in GenerateHostsToCheck()
449 CanonicalizeUrl(url, NULL, &canon_path, &canon_query); in GeneratePathsToCheck()
Dsafe_browsing_util.h206 void CanonicalizeUrl(const GURL& url, std::string* canonicalized_hostname,
Dsafe_browsing_service_browsertest.cc382 safe_browsing_util::CanonicalizeUrl(url, &host, &path, NULL); in GenUrlFullhashResult()
Dsafe_browsing_database.cc736 safe_browsing_util::CanonicalizeUrl(url, &host, &path, &query); in ContainsSideEffectFreeWhitelistUrl()