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

Side by Side Diff: net/quic/core/crypto/quic_crypto_client_config.h

Issue 2460223002: Adds std:: to stl types (#049) (Closed)
Patch Set: remove dead using std::foo declarations. Created 4 years, 1 month 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
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_CLIENT_CONFIG_H_ 5 #ifndef NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_ 6 #define NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // |expiration_time_|, |cert_sct_|, |chlo_hash_| and |server_config_sig_| 153 // |expiration_time_|, |cert_sct_|, |chlo_hash_| and |server_config_sig_|
154 // from the |other|. The remaining fields, |generation_counter_|, 154 // from the |other|. The remaining fields, |generation_counter_|,
155 // |proof_verify_details_|, and |scfg_| remain unchanged. 155 // |proof_verify_details_|, and |scfg_| remain unchanged.
156 void InitializeFrom(const CachedState& other); 156 void InitializeFrom(const CachedState& other);
157 157
158 // Initializes this cached state based on the arguments provided. 158 // Initializes this cached state based on the arguments provided.
159 // Returns false if there is a problem parsing the server config. 159 // Returns false if there is a problem parsing the server config.
160 bool Initialize(base::StringPiece server_config, 160 bool Initialize(base::StringPiece server_config,
161 base::StringPiece source_address_token, 161 base::StringPiece source_address_token,
162 const std::vector<std::string>& certs, 162 const std::vector<std::string>& certs,
163 base::StringPiece cert_sct, 163 const std::string& cert_sct,
164 base::StringPiece chlo_hash, 164 base::StringPiece chlo_hash,
165 base::StringPiece signature, 165 base::StringPiece signature,
166 QuicWallTime now, 166 QuicWallTime now,
167 QuicWallTime expiration_time); 167 QuicWallTime expiration_time);
168 168
169 private: 169 private:
170 std::string server_config_; // A serialized handshake message. 170 std::string server_config_; // A serialized handshake message.
171 std::string source_address_token_; // An opaque proof of IP ownership. 171 std::string source_address_token_; // An opaque proof of IP ownership.
172 std::vector<std::string> certs_; // A list of certificates in leaf-first 172 std::vector<std::string> certs_; // A list of certificates in leaf-first
173 // order. 173 // order.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 // The |user_agent_id_| passed in QUIC's CHLO message. 386 // The |user_agent_id_| passed in QUIC's CHLO message.
387 std::string user_agent_id_; 387 std::string user_agent_id_;
388 388
389 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig); 389 DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig);
390 }; 390 };
391 391
392 } // namespace net 392 } // namespace net
393 393
394 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_ 394 #endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_CLIENT_CONFIG_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_compressed_certs_cache_test.cc ('k') | net/quic/core/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698