Searched refs:num_attempts (Results 1 – 4 of 4) sorted by relevance
118 const int retry = num_attempts() - 1; in CreateURLFetcher()153 size_t num_attempts() const { return attempts_.size(); } in num_attempts() function in chromeos::TestWallpaperImageURLFetcherCallback186 size_t num_attempts() const { return url_callback_->num_attempts(); } in num_attempts() function in chromeos::WallpaperImageFetcherFactory287 EXPECT_EQ(1U, url_factory.num_attempts()); in IN_PROC_BROWSER_TEST_F()317 EXPECT_EQ(2U, url_factory.num_attempts()); in IN_PROC_BROWSER_TEST_F()
66 double CalculateBackoff(int num_attempts) { in CalculateBackoff() argument68 for (int i = 1; i < num_attempts; ++i) { in CalculateBackoff()
436 void CheckServerOrder(const unsigned* servers, size_t num_attempts) { in CheckServerOrder() argument437 ASSERT_EQ(num_attempts, socket_factory_->remote_endpoints_.size()); in CheckServerOrder()438 for (size_t i = 0; i < num_attempts; ++i) { in CheckServerOrder()
361 int num_attempts() const { return num_attempts_; } in num_attempts() function in net::__anonda1e81fb0111::RequesterResults