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

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

Issue 242643009: Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT and internal CL: 65311983 Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_CERT_COMPRESSOR_H_ 5 #ifndef NET_QUIC_CRYPTO_CERT_COMPRESSOR_H_
6 #define NET_QUIC_CRYPTO_CERT_COMPRESSOR_H_ 6 #define NET_QUIC_CRYPTO_CERT_COMPRESSOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 const CommonCertSets* common_sets); 41 const CommonCertSets* common_sets);
42 42
43 // DecompressChain decompresses the result of |CompressChain|, given in |in|, 43 // DecompressChain decompresses the result of |CompressChain|, given in |in|,
44 // into a series of certificates that are written to |out_certs|. 44 // into a series of certificates that are written to |out_certs|.
45 // |cached_certs| contains certificates that the peer may have omitted and 45 // |cached_certs| contains certificates that the peer may have omitted and
46 // |common_sets| contains the common certificate sets known locally. 46 // |common_sets| contains the common certificate sets known locally.
47 static bool DecompressChain(base::StringPiece in, 47 static bool DecompressChain(base::StringPiece in,
48 const std::vector<std::string>& cached_certs, 48 const std::vector<std::string>& cached_certs,
49 const CommonCertSets* common_sets, 49 const CommonCertSets* common_sets,
50 std::vector<std::string>* out_certs); 50 std::vector<std::string>* out_certs);
51
52 private:
53 DISALLOW_COPY_AND_ASSIGN(CertCompressor);
51 }; 54 };
52 55
53 } // namespace net 56 } // namespace net
54 57
55 #endif // NET_QUIC_CRYPTO_CERT_COMPRESSOR_H_ 58 #endif // NET_QUIC_CRYPTO_CERT_COMPRESSOR_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/aes_128_gcm_12_encrypter.h ('k') | net/quic/crypto/chacha20_poly1305_decrypter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698