Searched refs:CanonicalizeUrl (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/chrome/browser/net/ |
D | predictor_unittest.cc | 642 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 …]
|
D | predictor.cc | 278 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
|
D | connect_interceptor.cc | 24 GURL request_scheme_host(Predictor::CanonicalizeUrl(request->url())); in WitnessURLRequest()
|
D | predictor.h | 268 static GURL CanonicalizeUrl(const GURL& url);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_util_unittest.cc | 63 TEST(SafeBrowsingUtilTest, CanonicalizeUrl) { in TEST() argument 268 safe_browsing_util::CanonicalizeUrl(url, &canonicalized_hostname, in TEST()
|
D | safe_browsing_util.cc | 309 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()
|
D | safe_browsing_util.h | 206 void CanonicalizeUrl(const GURL& url, std::string* canonicalized_hostname,
|
D | safe_browsing_service_browsertest.cc | 382 safe_browsing_util::CanonicalizeUrl(url, &host, &path, NULL); in GenUrlFullhashResult()
|
D | safe_browsing_database.cc | 736 safe_browsing_util::CanonicalizeUrl(url, &host, &path, &query); in ContainsSideEffectFreeWhitelistUrl()
|