| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // A server specific QuicSession subclass. | 5 // A server specific QuicSession subclass. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_ | 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_ |
| 8 #define NET_QUIC_QUIC_SERVER_SESSION_H_ | 8 #define NET_QUIC_QUIC_SERVER_SESSION_H_ |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 QuicServerSessionVisitor* visitor_; | 92 QuicServerSessionVisitor* visitor_; |
| 93 | 93 |
| 94 // The most recent bandwidth estimate sent to the client. | 94 // The most recent bandwidth estimate sent to the client. |
| 95 QuicBandwidth bandwidth_estimate_sent_to_client_; | 95 QuicBandwidth bandwidth_estimate_sent_to_client_; |
| 96 | 96 |
| 97 // Text describing server location. Sent to the client as part of the bandwith | 97 // Text describing server location. Sent to the client as part of the bandwith |
| 98 // estimate in the source-address token. Optional, can be left empty. | 98 // estimate in the source-address token. Optional, can be left empty. |
| 99 string serving_region_; | 99 string serving_region_; |
| 100 | 100 |
| 101 // Time at which we send the last SCUP to the client. | 101 // Time at which we send the last SCUP to the client. |
| 102 QuicTime last_server_config_update_time_; | 102 QuicTime last_scup_time_; |
| 103 |
| 104 // Number of packets sent to the peer, at the time we last sent a SCUP. |
| 105 int64 last_scup_sequence_number_; |
| 103 | 106 |
| 104 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); | 107 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); |
| 105 }; | 108 }; |
| 106 | 109 |
| 107 } // namespace net | 110 } // namespace net |
| 108 | 111 |
| 109 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_ | 112 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_ |
| OLD | NEW |