| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/spdy/spdy_proxy_client_socket.h" | 5 #include "net/spdy/spdy_proxy_client_socket.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 11 #include "net/base/address_list.h" | 12 #include "net/base/address_list.h" |
| 12 #include "net/base/test_completion_callback.h" | 13 #include "net/base/test_completion_callback.h" |
| 13 #include "net/base/winsock_init.h" | 14 #include "net/base/winsock_init.h" |
| 14 #include "net/dns/mock_host_resolver.h" | 15 #include "net/dns/mock_host_resolver.h" |
| 15 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
| 16 #include "net/http/http_response_info.h" | 17 #include "net/http/http_response_info.h" |
| 17 #include "net/log/net_log.h" | 18 #include "net/log/net_log.h" |
| 18 #include "net/log/test_net_log.h" | 19 #include "net/log/test_net_log.h" |
| (...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1380 | 1381 |
| 1381 EXPECT_FALSE(sock_.get()); | 1382 EXPECT_FALSE(sock_.get()); |
| 1382 EXPECT_TRUE(read_callback.have_result()); | 1383 EXPECT_TRUE(read_callback.have_result()); |
| 1383 EXPECT_FALSE(write_callback_.have_result()); | 1384 EXPECT_FALSE(write_callback_.have_result()); |
| 1384 | 1385 |
| 1385 // Let the RST_STREAM write while |rst| is in-scope. | 1386 // Let the RST_STREAM write while |rst| is in-scope. |
| 1386 base::MessageLoop::current()->RunUntilIdle(); | 1387 base::MessageLoop::current()->RunUntilIdle(); |
| 1387 } | 1388 } |
| 1388 | 1389 |
| 1389 } // namespace net | 1390 } // namespace net |
| OLD | NEW |