| Index: net/quic/crypto/quic_crypto_server_config.h
|
| diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
|
| index 1f5b2feb8990b8adfd2400d5f1f185b4c0c14bbc..ffe17e664e35323419711e9f841f9707fa5c4e43 100644
|
| --- a/net/quic/crypto/quic_crypto_server_config.h
|
| +++ b/net/quic/crypto/quic_crypto_server_config.h
|
| @@ -101,9 +101,9 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
|
| // TESTING is a magic parameter for passing to the constructor in tests.
|
| static const char TESTING[];
|
|
|
| - // DefaultConfig generates a QuicServerConfigProtobuf protobuf suitable for
|
| - // using in tests.
|
| - static QuicServerConfigProtobuf* DefaultConfig(
|
| + // Generates a QuicServerConfigProtobuf protobuf suitable for
|
| + // AddConfig and SetConfigs.
|
| + static QuicServerConfigProtobuf* GenerateConfig(
|
| QuicRandom* rand,
|
| const QuicClock* clock,
|
| const ConfigOptions& options);
|
| @@ -296,6 +296,11 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
|
| // will not be promoted at a specific time.
|
| QuicWallTime primary_time;
|
|
|
| + // Secondary sort key for use when selecting primary configs and
|
| + // there are multiple configs with the same primary time.
|
| + // Smaller numbers mean higher priority.
|
| + uint64 priority;
|
| +
|
| private:
|
| friend class base::RefCounted<Config>;
|
| virtual ~Config();
|
|
|