OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ | 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ |
6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ | 6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 std::string config_; | 104 std::string config_; |
105 | 105 |
106 // primary_time_ contains a UNIX epoch seconds value that indicates when this | 106 // primary_time_ contains a UNIX epoch seconds value that indicates when this |
107 // config should become primary. | 107 // config should become primary. |
108 int64 primary_time_; | 108 int64 primary_time_; |
109 | 109 |
110 // Relative priority of this config vs other configs with the same | 110 // Relative priority of this config vs other configs with the same |
111 // primary time. For use as a secondary sort key when selecting the | 111 // primary time. For use as a secondary sort key when selecting the |
112 // primary config. | 112 // primary config. |
113 uint64 priority_; | 113 uint64 priority_; |
| 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(QuicServerConfigProtobuf); |
114 }; | 116 }; |
115 | 117 |
116 } // namespace net | 118 } // namespace net |
117 | 119 |
118 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ | 120 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ |
OLD | NEW |