Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: net/tools/quic/quic_dispatcher.cc

Issue 2743883002: Remove PathCloseFrame, QuicPathId, DefaultPathId and InvalidPathId. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/tools/quic/quic_dispatcher.h ('k') | net/tools/quic/quic_packet_printer_bin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/macros.h" 9 #include "base/macros.h"
10 #include "net/quic/core/crypto/quic_random.h" 10 #include "net/quic/core/crypto/quic_random.h"
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 const QuicWindowUpdateFrame& /*frame*/) { 619 const QuicWindowUpdateFrame& /*frame*/) {
620 DCHECK(false); 620 DCHECK(false);
621 return false; 621 return false;
622 } 622 }
623 623
624 bool QuicDispatcher::OnBlockedFrame(const QuicBlockedFrame& frame) { 624 bool QuicDispatcher::OnBlockedFrame(const QuicBlockedFrame& frame) {
625 DCHECK(false); 625 DCHECK(false);
626 return false; 626 return false;
627 } 627 }
628 628
629 bool QuicDispatcher::OnPathCloseFrame(const QuicPathCloseFrame& frame) {
630 DCHECK(false);
631 return false;
632 }
633
634 void QuicDispatcher::OnPacketComplete() { 629 void QuicDispatcher::OnPacketComplete() {
635 DCHECK(false); 630 DCHECK(false);
636 } 631 }
637 632
638 void QuicDispatcher::OnExpiredPackets( 633 void QuicDispatcher::OnExpiredPackets(
639 QuicConnectionId connection_id, 634 QuicConnectionId connection_id,
640 BufferedPacketList early_arrived_packets) { 635 BufferedPacketList early_arrived_packets) {
641 time_wait_list_manager_->AddConnectionIdToTimeWait( 636 time_wait_list_manager_->AddConnectionIdToTimeWait(
642 connection_id, framer_.version(), false, nullptr); 637 connection_id, framer_.version(), false, nullptr);
643 } 638 }
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 void QuicDispatcher::DeliverPacketsToSession( 980 void QuicDispatcher::DeliverPacketsToSession(
986 const std::list<BufferedPacket>& packets, 981 const std::list<BufferedPacket>& packets,
987 QuicSession* session) { 982 QuicSession* session) {
988 for (const BufferedPacket& packet : packets) { 983 for (const BufferedPacket& packet : packets) {
989 session->ProcessUdpPacket(packet.server_address, packet.client_address, 984 session->ProcessUdpPacket(packet.server_address, packet.client_address,
990 *(packet.packet)); 985 *(packet.packet));
991 } 986 }
992 } 987 }
993 988
994 } // namespace net 989 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_dispatcher.h ('k') | net/tools/quic/quic_packet_printer_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698