| OLD | NEW |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 1 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ | 5 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ |
| 2 #define NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ | 6 #define NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ |
| 3 | 7 |
| 4 #include "net/quic/core/crypto/quic_random.h" | 8 #include "net/quic/core/crypto/quic_random.h" |
| 5 #include "net/quic/core/quic_crypto_server_stream.h" | 9 #include "net/quic/core/quic_crypto_server_stream.h" |
| 6 | 10 |
| 7 namespace net { | 11 namespace net { |
| 8 | 12 |
| 9 // Simple helper for server crypto streams which generates a new random | 13 // Simple helper for server crypto streams which generates a new random |
| 10 // connection ID for stateless rejects. | 14 // connection ID for stateless rejects. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 const IPEndPoint& self_address, | 26 const IPEndPoint& self_address, |
| 23 std::string* error_details) const override; | 27 std::string* error_details) const override; |
| 24 | 28 |
| 25 private: | 29 private: |
| 26 QuicRandom* random_; // Unowned. | 30 QuicRandom* random_; // Unowned. |
| 27 }; | 31 }; |
| 28 | 32 |
| 29 } // namespace net | 33 } // namespace net |
| 30 | 34 |
| 31 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ | 35 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_CRYPTO_SERVER_STREAM_HELPER_H_ |
| OLD | NEW |