Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index 443aaa444565d27e787a44800f78dfb984d515d8..980f87fc0c4f0171b04bbf48cf6c46f1d52f61ca 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -548,6 +548,11 @@ class NET_EXPORT_PRIVATE QuicConnection |
// takes ownership of |encrypter|. |
void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter); |
+ // SetNonceForPublicHeader sets the nonce that will be transmitted in the |
+ // public header of each packet encrypted at the initial encryption level |
+ // decrypted. This should only be called on the server side. |
+ void SetDiversificationNonce(const DiversificationNonce nonce); |
+ |
// SetDefaultEncryptionLevel sets the encryption level that will be applied |
// to new packets. |
void SetDefaultEncryptionLevel(EncryptionLevel level); |