OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_ | |
6 #define CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "chrome/browser/ui/crypto_module_password_dialog.h" | |
11 | |
12 namespace content { | |
13 class ResourceContext; | |
14 } | |
15 | |
16 namespace crypto { | |
17 class NSSCryptoModuleDelegate; | |
18 } | |
19 | |
20 namespace chrome { | |
21 | |
22 // Creates a NSSCryptoModuleDelegate. The Initalize method must be called on | |
23 // the IO thread, and |context| must still be valid at the time Initalize is | |
24 // called. The RequestPassword method must be called on a worker thread. | |
25 crypto::NSSCryptoModuleDelegate* CreateNSSCryptoModuleDelegate( | |
26 content::ResourceContext* context, | |
27 CryptoModulePasswordReason reason, | |
28 const std::string& server); | |
Ryan Sleevi
2013/11/26 20:13:17
naming nit: It's not clear to me what |server| is.
mattm
2013/12/03 00:40:54
It does seem to be a bit underspecified. Some plac
| |
29 | |
30 } // namespace chrome | |
31 | |
32 #endif // CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_ | |
OLD | NEW |