Home
last modified time | relevance | path

Searched refs:retry_info (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/proxy/
Dproxy_list.cc197 ProxyRetryInfo retry_info; in AddProxyToRetryList() local
198 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()
Dproxy_service.cc288 base::Value* NetLogBadProxyListCallback(const ProxyRetryInfoMap* retry_info, in NetLogBadProxyListCallback() argument
293 for (ProxyRetryInfoMap::const_iterator iter = retry_info->begin(); in NetLogBadProxyListCallback()
294 iter != retry_info->end(); ++iter) { in NetLogBadProxyListCallback()
/external/chromium_org/jingle/glue/
Dproxy_resolving_client_socket_unittest.cc109 const net::ProxyRetryInfoMap& retry_info = in TEST_F() local
112 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()
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_protocol_unittest.cc233 const ProxyRetryInfoMap& retry_info = proxy_service_->proxy_retry_info(); in TestBadProxies() local
234 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() local
862 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 …]
Ddata_reduction_proxy_params_unittest.cc1095 net::ProxyRetryInfo retry_info; in TEST_F() local
1098 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()
/external/chromium_org/net/http/
Dhttp_network_layer_unittest.cc88 const ProxyRetryInfoMap& retry_info = proxy_service_->proxy_retry_info(); in TestBadProxies() local
89 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()
Dhttp_stream_factory_impl_unittest.cc621 const ProxyRetryInfoMap& retry_info = in TEST_P() local
623 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()
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui.cc957 const net::ProxyRetryInfo& retry_info = it->second; in OnGetBadProxies() local
962 net::NetLog::TickCountToString(retry_info.bad_until)); in OnGetBadProxies()