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

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

Powered by Google App Engine
This is Rietveld 408576698