| 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/tools/quic/quic_simple_client.h" | 5 #include "net/tools/quic/quic_simple_client.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| 11 #include "net/http/http_request_info.h" | 11 #include "net/http/http_request_info.h" |
| 12 #include "net/http/http_response_info.h" | 12 #include "net/http/http_response_info.h" |
| 13 #include "net/quic/crypto/quic_random.h" | 13 #include "net/quic/crypto/quic_random.h" |
| 14 #include "net/quic/quic_chromium_alarm_factory.h" | 14 #include "net/quic/quic_chromium_alarm_factory.h" |
| 15 #include "net/quic/quic_chromium_connection_helper.h" | 15 #include "net/quic/quic_chromium_connection_helper.h" |
| 16 #include "net/quic/quic_chromium_packet_reader.h" | 16 #include "net/quic/quic_chromium_packet_reader.h" |
| 17 #include "net/quic/quic_chromium_packet_writer.h" | 17 #include "net/quic/quic_chromium_packet_writer.h" |
| 18 #include "net/quic/quic_connection.h" | 18 #include "net/quic/quic_connection.h" |
| 19 #include "net/quic/quic_flags.h" | 19 #include "net/quic/quic_flags.h" |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 session()->connection()->ProcessUdpPacket(local_address, peer_address, | 404 session()->connection()->ProcessUdpPacket(local_address, peer_address, |
| 405 packet); | 405 packet); |
| 406 if (!session()->connection()->connected()) { | 406 if (!session()->connection()->connected()) { |
| 407 return false; | 407 return false; |
| 408 } | 408 } |
| 409 | 409 |
| 410 return true; | 410 return true; |
| 411 } | 411 } |
| 412 | 412 |
| 413 } // namespace net | 413 } // namespace net |
| OLD | NEW |