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

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: review changes 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/crypto_module_delegate_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8c73ab97f57c7636368e821bcb5049cadbd5d83c
--- /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* CreateNSSCryptoModuleDelegate(
+ content::ResourceContext* context,
+ CryptoModulePasswordReason reason,
+ 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
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_CRYPTO_MODULE_DELEGATE_NSS_H_
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/crypto_module_delegate_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698