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

Side by Side Diff: crypto/openssl_util.h

Issue 10695140: Remove #pragma once from crypto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « crypto/openpgp_symmetric_encryption.h ('k') | crypto/p224.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CRYPTO_OPENSSL_UTIL_H_ 5 #ifndef CRYPTO_OPENSSL_UTIL_H_
6 #define CRYPTO_OPENSSL_UTIL_H_ 6 #define CRYPTO_OPENSSL_UTIL_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/location.h" 9 #include "base/location.h"
11 #include "crypto/crypto_export.h" 10 #include "crypto/crypto_export.h"
12 11
13 namespace crypto { 12 namespace crypto {
14 13
15 // A helper class that takes care of destroying OpenSSL objects when it goes out 14 // A helper class that takes care of destroying OpenSSL objects when it goes out
16 // of scope. 15 // of scope.
17 template <typename T, void (*destructor)(T*)> 16 template <typename T, void (*destructor)(T*)>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 104
106 private: 105 private:
107 const tracked_objects::Location location_; 106 const tracked_objects::Location location_;
108 107
109 DISALLOW_IMPLICIT_CONSTRUCTORS(OpenSSLErrStackTracer); 108 DISALLOW_IMPLICIT_CONSTRUCTORS(OpenSSLErrStackTracer);
110 }; 109 };
111 110
112 } // namespace crypto 111 } // namespace crypto
113 112
114 #endif // CRYPTO_OPENSSL_UTIL_H_ 113 #endif // CRYPTO_OPENSSL_UTIL_H_
OLDNEW
« no previous file with comments | « crypto/openpgp_symmetric_encryption.h ('k') | crypto/p224.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698