OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ENCRYPTOR_H_ | 5 #ifndef CRYPTO_ENCRYPTOR_H_ |
6 #define CRYPTO_ENCRYPTOR_H_ | 6 #define CRYPTO_ENCRYPTOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/string_piece.h" | 12 #include "base/string_piece.h" |
14 #include "build/build_config.h" | 13 #include "build/build_config.h" |
15 #include "crypto/crypto_export.h" | 14 #include "crypto/crypto_export.h" |
16 | 15 |
17 #if defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) | 16 #if defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 const base::StringPiece& input, | 126 const base::StringPiece& input, |
128 std::string* output); | 127 std::string* output); |
129 ScopedPK11Slot slot_; | 128 ScopedPK11Slot slot_; |
130 ScopedSECItem param_; | 129 ScopedSECItem param_; |
131 #endif | 130 #endif |
132 }; | 131 }; |
133 | 132 |
134 } // namespace crypto | 133 } // namespace crypto |
135 | 134 |
136 #endif // CRYPTO_ENCRYPTOR_H_ | 135 #endif // CRYPTO_ENCRYPTOR_H_ |
OLD | NEW |