Index: net/http/http_network_transaction_unittest.cc |
=================================================================== |
--- net/http/http_network_transaction_unittest.cc (revision 35522) |
+++ net/http/http_network_transaction_unittest.cc (working copy) |
@@ -3556,6 +3556,8 @@ |
SessionDependencies session_deps( |
CreateFixedProxyService("myproxy:70;foobar:80")); |
+ // This simulates failure resolving all hostnames; that means we will fail |
+ // connecting to both proxies (myproxy:70 and foobar:80). |
session_deps.host_resolver->rules()->AddSimulatedFailure("*"); |
scoped_ptr<HttpTransaction> trans( |