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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/crypto_module_delegate_nss.h
diff --git a/chrome/browser/ui/crypto_module_delegate_nss.h b/chrome/browser/ui/crypto_module_delegate_nss.h
new file mode 100644
index 0000000000000000000000000000000000000000..773855a7827385dca1d7381cea29f2837855ea2f
--- /dev/null
+++ b/chrome/browser/ui/crypto_module_delegate_nss.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_
+#define CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_
+
+#include <string>
+
+#include "chrome/browser/ui/crypto_module_password_dialog.h"
+
+namespace content {
+class ResourceContext;
+}
+
+namespace crypto {
+class NSSCryptoModuleDelegate;
+}
+
+namespace chrome {
+
+// Creates a NSSCryptoModuleDelegate. The Initalize method must be called on
+// the IO thread, and |context| must still be valid at the time Initalize is
+// called. The RequestPassword method must be called on a worker thread.
+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.
+ content::ResourceContext* context,
+ CryptoModulePasswordReason reason,
+ const std::string& server);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_

Powered by Google App Engine
This is Rietveld 408576698