OLD | NEW |
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_SCOPED_NSS_TYPES_H_ | 5 #ifndef CRYPTO_SCOPED_NSS_TYPES_H_ |
6 #define CRYPTO_SCOPED_NSS_TYPES_H_ | 6 #define CRYPTO_SCOPED_NSS_TYPES_H_ |
7 #pragma once | |
8 | 7 |
9 #include <keyhi.h> | 8 #include <keyhi.h> |
10 #include <nss.h> | 9 #include <nss.h> |
11 #include <pk11pub.h> | 10 #include <pk11pub.h> |
12 #include <plarena.h> | 11 #include <plarena.h> |
13 | 12 |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 | 14 |
16 namespace crypto { | 15 namespace crypto { |
17 | 16 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 SECITEM_FreeItem, | 54 SECITEM_FreeItem, |
56 PR_TRUE> > ScopedSECItem; | 55 PR_TRUE> > ScopedSECItem; |
57 typedef scoped_ptr_malloc< | 56 typedef scoped_ptr_malloc< |
58 PLArenaPool, NSSDestroyer1<PLArenaPool, | 57 PLArenaPool, NSSDestroyer1<PLArenaPool, |
59 PORT_FreeArena, | 58 PORT_FreeArena, |
60 PR_FALSE> > ScopedPLArenaPool; | 59 PR_FALSE> > ScopedPLArenaPool; |
61 | 60 |
62 } // namespace crypto | 61 } // namespace crypto |
63 | 62 |
64 #endif // CRYPTO_SCOPED_NSS_TYPES_H_ | 63 #endif // CRYPTO_SCOPED_NSS_TYPES_H_ |
OLD | NEW |