| 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/core/quic_session.h" | 5 #include "net/quic/core/quic_session.h" |
| 6 | 6 |
| 7 #include <cstdint> | 7 #include <cstdint> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "net/quic/core/quic_connection.h" | 10 #include "net/quic/core/quic_connection.h" |
| (...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 QuicStream* stream = GetStream(id); | 1050 QuicStream* stream = GetStream(id); |
| 1051 if (stream == nullptr) { | 1051 if (stream == nullptr) { |
| 1052 // This causes the connection to be closed because of failed to serialize | 1052 // This causes the connection to be closed because of failed to serialize |
| 1053 // packet. | 1053 // packet. |
| 1054 QUIC_BUG << "Stream " << id << " does not exist when trying to write data."; | 1054 QUIC_BUG << "Stream " << id << " does not exist when trying to write data."; |
| 1055 return false; | 1055 return false; |
| 1056 } | 1056 } |
| 1057 return stream->WriteStreamData(offset, data_length, writer); | 1057 return stream->WriteStreamData(offset, data_length, writer); |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 #undef ENDPOINT |
| 1061 |
| 1060 } // namespace net | 1062 } // namespace net |
| OLD | NEW |