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

Side by Side Diff: net/quic/core/quic_multipath_transmissions_map.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_multipath_transmissions_map.h" 5 #include "net/quic/core/quic_multipath_transmissions_map.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 QuicMultipathTransmissionsMap::QuicMultipathTransmissionsMap() {} 9 QuicMultipathTransmissionsMap::QuicMultipathTransmissionsMap() {}
10 10
11 QuicMultipathTransmissionsMap::~QuicMultipathTransmissionsMap() { 11 QuicMultipathTransmissionsMap::~QuicMultipathTransmissionsMap() {
12 for (std::pair<QuicPathIdPacketNumber, MultipathTransmissionsList*> 12 for (std::pair<QuicPathIdPacketNumber, MultipathTransmissionsList*>
13 packet_transmissions : transmission_map_) { 13 packet_transmissions : transmission_map_) {
14 packet_transmissions.second->pop_front(); 14 packet_transmissions.second->pop_front();
15 if (packet_transmissions.second->empty()) { 15 if (packet_transmissions.second->empty()) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 MultipathTransmissionsList::iterator transmission_it; 61 MultipathTransmissionsList::iterator transmission_it;
62 // Remove all across paths transmissions of this packet from the map. 62 // Remove all across paths transmissions of this packet from the map.
63 for (QuicPathIdPacketNumber path_id_packet_number : *transmission_list) { 63 for (QuicPathIdPacketNumber path_id_packet_number : *transmission_list) {
64 transmission_map_.erase(path_id_packet_number); 64 transmission_map_.erase(path_id_packet_number);
65 } 65 }
66 // Remove the multipath transmissions list. 66 // Remove the multipath transmissions list.
67 delete transmission_list; 67 delete transmission_list;
68 } 68 }
69 69
70 } // namespace net 70 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_multipath_transmissions_map.h ('k') | net/quic/core/quic_multipath_transmissions_map_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698