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 <errno.h> | 7 #include <errno.h> |
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" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 DCHECK(false); | 96 DCHECK(false); |
97 } | 97 } |
98 bool OnStreamFrame(const QuicStreamFrame& /*frame*/) override { | 98 bool OnStreamFrame(const QuicStreamFrame& /*frame*/) override { |
99 DCHECK(false); | 99 DCHECK(false); |
100 return false; | 100 return false; |
101 } | 101 } |
102 bool OnAckFrame(const QuicAckFrame& /*frame*/) override { | 102 bool OnAckFrame(const QuicAckFrame& /*frame*/) override { |
103 DCHECK(false); | 103 DCHECK(false); |
104 return false; | 104 return false; |
105 } | 105 } |
106 bool OnCongestionFeedbackFrame( | |
107 const QuicCongestionFeedbackFrame& /*frame*/) override { | |
108 DCHECK(false); | |
109 return false; | |
110 } | |
111 bool OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) override { | 106 bool OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) override { |
112 DCHECK(false); | 107 DCHECK(false); |
113 return false; | 108 return false; |
114 } | 109 } |
115 bool OnPingFrame(const QuicPingFrame& /*frame*/) override { | 110 bool OnPingFrame(const QuicPingFrame& /*frame*/) override { |
116 DCHECK(false); | 111 DCHECK(false); |
117 return false; | 112 return false; |
118 } | 113 } |
119 bool OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) override { | 114 bool OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) override { |
120 DCHECK(false); | 115 DCHECK(false); |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( | 405 framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( |
411 header.connection_id)); | 406 header.connection_id)); |
412 | 407 |
413 // Continue parsing the packet to extract the sequence number. Then | 408 // Continue parsing the packet to extract the sequence number. Then |
414 // send it to the time wait manager in OnUnathenticatedHeader. | 409 // send it to the time wait manager in OnUnathenticatedHeader. |
415 return true; | 410 return true; |
416 } | 411 } |
417 | 412 |
418 } // namespace tools | 413 } // namespace tools |
419 } // namespace net | 414 } // namespace net |
OLD | NEW |