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