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

Side by Side Diff: net/quic/crypto/aead_base_encrypter.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
« no previous file with comments | « net/quic/crypto/aead_base_decrypter.h ('k') | net/quic/crypto/aes_128_gcm_12_decrypter.h » ('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 (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_AEAD_BASE_ENCRYPTER_H_ 5 #ifndef NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_
6 #define NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ 6 #define NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "net/quic/crypto/quic_encrypter.h" 9 #include "net/quic/crypto/quic_encrypter.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const size_t nonce_prefix_size_; 94 const size_t nonce_prefix_size_;
95 95
96 // The key. 96 // The key.
97 unsigned char key_[kMaxKeySize]; 97 unsigned char key_[kMaxKeySize];
98 // The nonce prefix. 98 // The nonce prefix.
99 unsigned char nonce_prefix_[kMaxNoncePrefixSize]; 99 unsigned char nonce_prefix_[kMaxNoncePrefixSize];
100 100
101 #if defined(USE_OPENSSL) 101 #if defined(USE_OPENSSL)
102 ScopedEVPAEADCtx ctx_; 102 ScopedEVPAEADCtx ctx_;
103 #endif 103 #endif
104
105 DISALLOW_COPY_AND_ASSIGN(AeadBaseEncrypter);
104 }; 106 };
105 107
106 } // namespace net 108 } // namespace net
107 109
108 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ 110 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/aead_base_decrypter.h ('k') | net/quic/crypto/aes_128_gcm_12_decrypter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698