Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: net/quic/crypto/quic_crypto_server_config.h

Issue 1983183002: Landing Recent QUIC changes until 5/14/2016 02:25:25 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "first try to fix link error for win_clang build" Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_QUIC_CRYPTO_SERVER_CONFIG_H_ 5 #ifndef NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 std::string* error_details) const; 290 std::string* error_details) const;
291 291
292 // BuildServerConfigUpdateMessage sets |out| to be a SCUP message containing 292 // BuildServerConfigUpdateMessage sets |out| to be a SCUP message containing
293 // the current primary config, an up to date source-address token, and cert 293 // the current primary config, an up to date source-address token, and cert
294 // chain and proof in the case of secure QUIC. Returns true if successfully 294 // chain and proof in the case of secure QUIC. Returns true if successfully
295 // filled |out|. 295 // filled |out|.
296 // 296 //
297 // |cached_network_params| is optional, and can be nullptr. 297 // |cached_network_params| is optional, and can be nullptr.
298 bool BuildServerConfigUpdateMessage( 298 bool BuildServerConfigUpdateMessage(
299 QuicVersion version, 299 QuicVersion version,
300 base::StringPiece chlo_hash,
300 const SourceAddressTokens& previous_source_address_tokens, 301 const SourceAddressTokens& previous_source_address_tokens,
301 const IPAddress& server_ip, 302 const IPAddress& server_ip,
302 const IPAddress& client_ip, 303 const IPAddress& client_ip,
303 const QuicClock* clock, 304 const QuicClock* clock,
304 QuicRandom* rand, 305 QuicRandom* rand,
305 QuicCompressedCertsCache* compressed_certs_cache, 306 QuicCompressedCertsCache* compressed_certs_cache,
306 const QuicCryptoNegotiatedParameters& params, 307 const QuicCryptoNegotiatedParameters& params,
307 const CachedNetworkParameters* cached_network_params, 308 const CachedNetworkParameters* cached_network_params,
308 CryptoHandshakeMessage* out) const; 309 CryptoHandshakeMessage* out) const;
309 310
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 std::string cert_sct; 666 std::string cert_sct;
666 // The server config that is used for this proof (and the rest of the 667 // The server config that is used for this proof (and the rest of the
667 // request). 668 // request).
668 scoped_refptr<QuicCryptoServerConfig::Config> config; 669 scoped_refptr<QuicCryptoServerConfig::Config> config;
669 std::string primary_scid; 670 std::string primary_scid;
670 }; 671 };
671 672
672 } // namespace net 673 } // namespace net
673 674
674 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_ 675 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_protocol.h ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698