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 CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ |
6 #define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 6 #define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/native_library.h" | 12 #include "base/native_library.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 | 14 |
15 // The following declarations of functions and types are from Firefox | 15 // The following declarations of functions and types are from Firefox |
16 // NSS library. | 16 // NSS library. |
17 // source code: | 17 // source code: |
18 // security/nss/lib/util/seccomon.h | 18 // security/nss/lib/util/seccomon.h |
19 // security/nss/lib/nss/nss.h | 19 // security/nss/lib/nss/nss.h |
20 // The license block is: | 20 // The license block is: |
21 | 21 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 base::NativeLibrary nss3_dll_; | 184 base::NativeLibrary nss3_dll_; |
185 base::NativeLibrary softokn3_dll_; | 185 base::NativeLibrary softokn3_dll_; |
186 | 186 |
187 // True if NSS_Init() has been called | 187 // True if NSS_Init() has been called |
188 bool is_nss_initialized_; | 188 bool is_nss_initialized_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor); | 190 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor); |
191 }; | 191 }; |
192 | 192 |
193 #endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 193 #endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_WIN_H_ |
OLD | NEW |