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_dispatcher.h" | 5 #include "net/tools/quic/quic_dispatcher.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/debug/stack_trace.h" | 9 #include "base/debug/stack_trace.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
12 #include "net/quic/quic_flags.h" | 13 #include "net/quic/quic_flags.h" |
13 #include "net/quic/quic_utils.h" | 14 #include "net/quic/quic_utils.h" |
14 #include "net/tools/quic/quic_per_connection_packet_writer.h" | 15 #include "net/tools/quic/quic_per_connection_packet_writer.h" |
15 #include "net/tools/quic/quic_time_wait_list_manager.h" | 16 #include "net/tools/quic/quic_time_wait_list_manager.h" |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 | 19 |
19 namespace tools { | 20 namespace tools { |
20 | 21 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 // send it to the time wait manager in OnUnathenticatedHeader. | 481 // send it to the time wait manager in OnUnathenticatedHeader. |
481 return true; | 482 return true; |
482 } | 483 } |
483 | 484 |
484 void QuicDispatcher::SetLastError(QuicErrorCode error) { | 485 void QuicDispatcher::SetLastError(QuicErrorCode error) { |
485 last_error_ = error; | 486 last_error_ = error; |
486 } | 487 } |
487 | 488 |
488 } // namespace tools | 489 } // namespace tools |
489 } // namespace net | 490 } // namespace net |
OLD | NEW |