| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/quic/quic_dispatcher.h" | 5 #include "net/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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 91     DCHECK(false); | 91     DCHECK(false); | 
| 92   } | 92   } | 
| 93   bool OnStreamFrame(const QuicStreamFrame& /*frame*/) override { | 93   bool OnStreamFrame(const QuicStreamFrame& /*frame*/) override { | 
| 94     DCHECK(false); | 94     DCHECK(false); | 
| 95     return false; | 95     return false; | 
| 96   } | 96   } | 
| 97   bool OnAckFrame(const QuicAckFrame& /*frame*/) override { | 97   bool OnAckFrame(const QuicAckFrame& /*frame*/) override { | 
| 98     DCHECK(false); | 98     DCHECK(false); | 
| 99     return false; | 99     return false; | 
| 100   } | 100   } | 
| 101   bool OnCongestionFeedbackFrame( |  | 
| 102       const QuicCongestionFeedbackFrame& /*frame*/) override { |  | 
| 103     DCHECK(false); |  | 
| 104     return false; |  | 
| 105   } |  | 
| 106   bool OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) override { | 101   bool OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) override { | 
| 107     DCHECK(false); | 102     DCHECK(false); | 
| 108     return false; | 103     return false; | 
| 109   } | 104   } | 
| 110   bool OnPingFrame(const QuicPingFrame& /*frame*/) override { | 105   bool OnPingFrame(const QuicPingFrame& /*frame*/) override { | 
| 111     DCHECK(false); | 106     DCHECK(false); | 
| 112     return false; | 107     return false; | 
| 113   } | 108   } | 
| 114   bool OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) override { | 109   bool OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) override { | 
| 115     DCHECK(false); | 110     DCHECK(false); | 
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 397   // be parsed correctly. | 392   // be parsed correctly. | 
| 398   framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( | 393   framer_.set_version(time_wait_list_manager_->GetQuicVersionFromConnectionId( | 
| 399       header.connection_id)); | 394       header.connection_id)); | 
| 400 | 395 | 
| 401   // Continue parsing the packet to extract the sequence number.  Then | 396   // Continue parsing the packet to extract the sequence number.  Then | 
| 402   // send it to the time wait manager in OnUnathenticatedHeader. | 397   // send it to the time wait manager in OnUnathenticatedHeader. | 
| 403   return true; | 398   return true; | 
| 404 } | 399 } | 
| 405 | 400 | 
| 406 }  // namespace net | 401 }  // namespace net | 
| OLD | NEW | 
|---|