| 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/quic/quic_multipath_sent_packet_manager.h" | 5 #include "net/quic/core/quic_multipath_sent_packet_manager.h" |
| 6 | 6 |
| 7 #include <cstdint> | 7 #include <cstdint> |
| 8 | 8 |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "net/quic/quic_bug_tracker.h" | 10 #include "net/quic/core/quic_bug_tracker.h" |
| 11 | 11 |
| 12 using std::string; | 12 using std::string; |
| 13 using std::max; | 13 using std::max; |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| 16 | 16 |
| 17 QuicMultipathSentPacketManager::QuicMultipathSentPacketManager( | 17 QuicMultipathSentPacketManager::QuicMultipathSentPacketManager( |
| 18 QuicSentPacketManagerInterface* manager, | 18 QuicSentPacketManagerInterface* manager, |
| 19 QuicConnectionCloseDelegateInterface* delegate) | 19 QuicConnectionCloseDelegateInterface* delegate) |
| 20 : delegate_(delegate) { | 20 : delegate_(delegate) { |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 return; | 495 return; |
| 496 } | 496 } |
| 497 const string error_details = "Sent packet manager of path: (" + | 497 const string error_details = "Sent packet manager of path: (" + |
| 498 base::IntToString(path_id) + | 498 base::IntToString(path_id) + |
| 499 ") must be active but is not."; | 499 ") must be active but is not."; |
| 500 delegate_->OnUnrecoverableError(QUIC_MULTIPATH_PATH_NOT_ACTIVE, error_details, | 500 delegate_->OnUnrecoverableError(QUIC_MULTIPATH_PATH_NOT_ACTIVE, error_details, |
| 501 ConnectionCloseSource::FROM_SELF); | 501 ConnectionCloseSource::FROM_SELF); |
| 502 } | 502 } |
| 503 | 503 |
| 504 } // namespace net | 504 } // namespace net |
| OLD | NEW |