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

Unified Diff: net/quic/crypto/scoped_evp_aead_ctx.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/quic_server_info.h ('k') | net/quic/crypto/source_address_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/scoped_evp_aead_ctx.h
diff --git a/net/quic/crypto/scoped_evp_aead_ctx.h b/net/quic/crypto/scoped_evp_aead_ctx.h
index f8bb35689bb406f921fbea0b55c201315dcdb9e0..f0f04c1caafc1da5278691b48fa202d55c70c509 100644
--- a/net/quic/crypto/scoped_evp_aead_ctx.h
+++ b/net/quic/crypto/scoped_evp_aead_ctx.h
@@ -7,6 +7,8 @@
#include <openssl/evp.h>
+#include "base/basictypes.h"
+
namespace net {
// ScopedEVPAEADCtx manages an EVP_AEAD_CTX object and calls the needed cleanup
@@ -20,6 +22,8 @@ class ScopedEVPAEADCtx {
private:
EVP_AEAD_CTX ctx_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedEVPAEADCtx);
};
} // namespace net
« no previous file with comments | « net/quic/crypto/quic_server_info.h ('k') | net/quic/crypto/source_address_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698