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_BROWSER_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_WIN_H_ |
6 #define CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 6 #define CHROME_BROWSER_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/basictypes.h" |
12 #include "base/native_library.h" | 12 #include "base/native_library.h" |
13 #include "base/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 |
22 /* ***** BEGIN LICENSE BLOCK ***** | 22 /* ***** BEGIN LICENSE BLOCK ***** |
23 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 23 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 base::NativeLibrary nss3_dll_; | 169 base::NativeLibrary nss3_dll_; |
170 base::NativeLibrary softokn3_dll_; | 170 base::NativeLibrary softokn3_dll_; |
171 | 171 |
172 // True if NSS_Init() has been called | 172 // True if NSS_Init() has been called |
173 bool is_nss_initialized_; | 173 bool is_nss_initialized_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor); | 175 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor); |
176 }; | 176 }; |
177 | 177 |
178 #endif // CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_WIN_H_ | 178 #endif // CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_WIN_H_ |
OLD | NEW |