Searched refs:retry_info (Results 1 – 8 of 8) sorted by relevance
197 ProxyRetryInfo retry_info; in AddProxyToRetryList() local198 retry_info.current_delay = retry_delay; in AddProxyToRetryList()199 retry_info.bad_until = TimeTicks().Now() + retry_info.current_delay; in AddProxyToRetryList()200 retry_info.try_while_bad = try_while_bad; in AddProxyToRetryList()201 retry_info.net_error = net_error; in AddProxyToRetryList()202 (*proxy_retry_info)[proxy_key] = retry_info; in AddProxyToRetryList()
288 base::Value* NetLogBadProxyListCallback(const ProxyRetryInfoMap* retry_info, in NetLogBadProxyListCallback() argument293 for (ProxyRetryInfoMap::const_iterator iter = retry_info->begin(); in NetLogBadProxyListCallback()294 iter != retry_info->end(); ++iter) { in NetLogBadProxyListCallback()
109 const net::ProxyRetryInfoMap& retry_info = in TEST_F() local112 EXPECT_EQ(1u, retry_info.size()); in TEST_F()113 net::ProxyRetryInfoMap::const_iterator iter = retry_info.find("bad:99"); in TEST_F()114 EXPECT_TRUE(iter != retry_info.end()); in TEST_F()
233 const ProxyRetryInfoMap& retry_info = proxy_service_->proxy_retry_info(); in TestBadProxies() local234 ASSERT_EQ(expected_num_bad_proxies, retry_info.size()); in TestBadProxies()248 retry_info.find(GetProxyKey(bad_proxy)); in TestBadProxies()249 ASSERT_TRUE(i != retry_info.end()); in TestBadProxies()255 retry_info.find(GetProxyKey(bad_proxy2)); in TestBadProxies()256 ASSERT_TRUE(i != retry_info.end()); in TestBadProxies()861 net::ProxyRetryInfo retry_info; in TEST_F() local862 retry_info.current_delay = base::TimeDelta::FromSeconds(1000); in TEST_F()863 retry_info.bad_until = base::TimeTicks().Now() + retry_info.current_delay; in TEST_F()864 retry_info.try_while_bad = false; in TEST_F()[all …]
1095 net::ProxyRetryInfo retry_info; in TEST_F() local1098 retry_map[origin] = retry_info; in TEST_F()1100 retry_map[fallback_origin] = retry_info; in TEST_F()1102 retry_map[alt_origin] = retry_info; in TEST_F()1104 retry_map[alt_fallback_origin] = retry_info; in TEST_F()1106 retry_map[ssl_origin] = retry_info; in TEST_F()
88 const ProxyRetryInfoMap& retry_info = proxy_service_->proxy_retry_info(); in TestBadProxies() local89 ASSERT_EQ(proxy_count, retry_info.size()); in TestBadProxies()91 ASSERT_TRUE(retry_info.find(bad_proxy) != retry_info.end()); in TestBadProxies()93 ASSERT_TRUE(retry_info.find(bad_proxy2) != retry_info.end()); in TestBadProxies()
621 const ProxyRetryInfoMap& retry_info = in TEST_P() local623 EXPECT_EQ(1u, retry_info.size()); in TEST_P()624 ProxyRetryInfoMap::const_iterator iter = retry_info.find("bad:99"); in TEST_P()625 EXPECT_TRUE(iter != retry_info.end()); in TEST_P()
957 const net::ProxyRetryInfo& retry_info = it->second; in OnGetBadProxies() local962 net::NetLog::TickCountToString(retry_info.bad_until)); in OnGetBadProxies()