| 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" |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 bool QuicDispatcher::OnAckFrame(const QuicAckFrame& /*frame*/) { | 399 bool QuicDispatcher::OnAckFrame(const QuicAckFrame& /*frame*/) { |
| 400 DCHECK(false); | 400 DCHECK(false); |
| 401 return false; | 401 return false; |
| 402 } | 402 } |
| 403 | 403 |
| 404 bool QuicDispatcher::OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) { | 404 bool QuicDispatcher::OnStopWaitingFrame(const QuicStopWaitingFrame& /*frame*/) { |
| 405 DCHECK(false); | 405 DCHECK(false); |
| 406 return false; | 406 return false; |
| 407 } | 407 } |
| 408 | 408 |
| 409 bool QuicDispatcher::OnPaddingFrame(const QuicPaddingFrame& /*frame*/) { |
| 410 DCHECK(false); |
| 411 return false; |
| 412 } |
| 413 |
| 409 bool QuicDispatcher::OnPingFrame(const QuicPingFrame& /*frame*/) { | 414 bool QuicDispatcher::OnPingFrame(const QuicPingFrame& /*frame*/) { |
| 410 DCHECK(false); | 415 DCHECK(false); |
| 411 return false; | 416 return false; |
| 412 } | 417 } |
| 413 | 418 |
| 414 bool QuicDispatcher::OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) { | 419 bool QuicDispatcher::OnRstStreamFrame(const QuicRstStreamFrame& /*frame*/) { |
| 415 DCHECK(false); | 420 DCHECK(false); |
| 416 return false; | 421 return false; |
| 417 } | 422 } |
| 418 | 423 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 | 491 |
| 487 QuicPacketWriter* QuicDispatcher::CreatePerConnectionWriter() { | 492 QuicPacketWriter* QuicDispatcher::CreatePerConnectionWriter() { |
| 488 return new QuicPerConnectionPacketWriter(writer_.get()); | 493 return new QuicPerConnectionPacketWriter(writer_.get()); |
| 489 } | 494 } |
| 490 | 495 |
| 491 void QuicDispatcher::SetLastError(QuicErrorCode error) { | 496 void QuicDispatcher::SetLastError(QuicErrorCode error) { |
| 492 last_error_ = error; | 497 last_error_ = error; |
| 493 } | 498 } |
| 494 | 499 |
| 495 } // namespace net | 500 } // namespace net |
| OLD | NEW |