• Home
  • Raw
  • Download

Lines Matching refs:Predictor

36   WaitForResolutionHelper(Predictor* predictor, const UrlList& hosts,  in WaitForResolutionHelper()
57 Predictor* predictor_;
86 void WaitForResolution(Predictor* predictor, const UrlList& hosts) { in WaitForResolution()
112 scoped_refptr<Predictor> testing_master( in TEST_F()
113 new Predictor(host_resolver_.get(), in TEST_F()
126 scoped_refptr<Predictor> testing_master( in TEST_F()
127 new Predictor(host_resolver_.get(), in TEST_F()
152 scoped_refptr<Predictor> testing_master( in TEST_F()
153 new Predictor(host_resolver_.get(), in TEST_F()
184 scoped_refptr<Predictor> testing_master( in TEST_F()
185 new Predictor(host_resolver_.get(), in TEST_F()
234 scoped_refptr<Predictor> testing_master( in TEST_F()
235 new Predictor(host_resolver_.get(), in TEST_F()
271 CHECK_EQ(Predictor::PREDICTOR_REFERRER_VERSION, format_version); in FindSerializationMotivation()
286 list->Append(new FundamentalValue(Predictor::PREDICTOR_REFERRER_VERSION)); in NewEmptySerializationList()
354 scoped_refptr<Predictor> predictor( in TEST_F()
355 new Predictor(host_resolver_.get(), in TEST_F()
373 scoped_refptr<Predictor> predictor( in TEST_F()
374 new Predictor(host_resolver_.get(), in TEST_F()
411 scoped_refptr<Predictor> predictor( in TEST_F()
412 new Predictor(host_resolver_.get(), in TEST_F()
419 const double kRateIcon = 16.0 * Predictor::kDiscardableExpectedValue; in TEST_F()
421 const double kRateImg = 8.0 * Predictor::kDiscardableExpectedValue; in TEST_F()
496 Predictor::HostNameQueue queue; in TEST_F()
523 Predictor::HostNameQueue queue; in TEST_F()
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()
594 Predictor::CanonicalizeUrl(https)); in TEST_F()
598 EXPECT_EQ(Predictor::CanonicalizeUrl(long_https), in TEST_F()
603 scoped_refptr<Predictor> predictor( in TEST_F()
604 new Predictor(host_resolver_.get(), in TEST_F()