Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: chrome/browser/ui/crypto_module_delegate_nss.h

Issue 61643007: Update keygen to use correct NSS slot on ChromeOS multiprofile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r235279 Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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* NewNSSCryptoModuleDelegate(
Ryan Sleevi 2013/11/22 00:03:30 naming nit: Don't we normally call these factory f
mattm 2013/11/22 00:30:31 Done.
26 content::ResourceContext* context,
27 CryptoModulePasswordReason reason,
28 const std::string& server);
29
30 } // namespace chrome
31
32 #endif // CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698