| Index: net/quic/chromium/quic_chromium_client_session.h
|
| diff --git a/net/quic/chromium/quic_chromium_client_session.h b/net/quic/chromium/quic_chromium_client_session.h
|
| index 6681592d45fe82096ed662ddc49a49e605ea111d..d1be70b28fdd700fd5921da76028ec313f9604f1 100644
|
| --- a/net/quic/chromium/quic_chromium_client_session.h
|
| +++ b/net/quic/chromium/quic_chromium_client_session.h
|
| @@ -47,7 +47,8 @@ class SSLInfo;
|
| class TransportSecurityState;
|
|
|
| using TokenBindingSignatureMap =
|
| - base::MRUCache<std::string, std::vector<uint8_t>>;
|
| + base::MRUCache<std::pair<TokenBindingType, std::string>,
|
| + std::vector<uint8_t>>;
|
|
|
| namespace test {
|
| class QuicChromiumClientSessionPeer;
|
| @@ -195,9 +196,11 @@ class NET_EXPORT_PRIVATE QuicChromiumClientSession
|
| // Gets the SSL connection information.
|
| bool GetSSLInfo(SSLInfo* ssl_info) const;
|
|
|
| - // Signs the exported keying material used for Token Binding using key |*key|
|
| - // and puts the signature in |*out|. Returns a net error code.
|
| + // Generates the signature used in Token Binding using key |*key| and for a
|
| + // Token Binding of type |tb_type|, putting the signature in |*out|. Returns a
|
| + // net error code.
|
| Error GetTokenBindingSignature(crypto::ECPrivateKey* key,
|
| + TokenBindingType tb_type,
|
| std::vector<uint8_t>* out);
|
|
|
| // Performs a crypto handshake with the server.
|
|
|