Index: base/crypto/crypto_module_blocking_password_delegate.h |
diff --git a/base/crypto/pk11_blocking_password_delegate.h b/base/crypto/crypto_module_blocking_password_delegate.h |
similarity index 63% |
rename from base/crypto/pk11_blocking_password_delegate.h |
rename to base/crypto/crypto_module_blocking_password_delegate.h |
index c9eb35c113ba711acc3ff92c22bdbcb3243544c8..8da6485f0f375b3370e03b0d5327ee2d3b23c09e 100644 |
--- a/base/crypto/pk11_blocking_password_delegate.h |
+++ b/base/crypto/crypto_module_blocking_password_delegate.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef BASE_CRYPTO_PK11_BLOCKING_PASSWORD_DELEGATE_H_ |
-#define BASE_CRYPTO_PK11_BLOCKING_PASSWORD_DELEGATE_H_ |
+#ifndef BASE_CRYPTO_CRYPTO_MODULE_BLOCKING_PASSWORD_DELEGATE_H_ |
+#define BASE_CRYPTO_CRYPTO_MODULE_BLOCKING_PASSWORD_DELEGATE_H_ |
#pragma once |
#include <string> |
@@ -11,12 +11,12 @@ |
namespace base { |
// PK11_SetPasswordFunc is a global setting. An implementation of |
-// PK11BlockingPasswordDelegate should be passed as the user data argument |
-// (|wincx|) to relevant NSS functions, which the global password handler will |
-// call to do the actual work. |
-class PK11BlockingPasswordDelegate { |
+// CryptoModuleBlockingPasswordDelegate should be passed as the user data |
+// argument (|wincx|) to relevant NSS functions, which the global password |
+// handler will call to do the actual work. |
+class CryptoModuleBlockingPasswordDelegate { |
wtc
2011/01/15 17:40:40
If this class is and will remain NSS-specific, it
mattm
2011/01/19 00:59:34
Yeah, openssl will use it too
|
public: |
- virtual ~PK11BlockingPasswordDelegate() {} |
+ virtual ~CryptoModuleBlockingPasswordDelegate() {} |
// Requests a password to unlock |slot_name|. The interface is |
// synchronous because NSS cannot issue an asynchronous |
@@ -31,4 +31,4 @@ class PK11BlockingPasswordDelegate { |
} |
-#endif // BASE_CRYPTO_PK11_BLOCKING_PASSWORD_DELEGATE_H_ |
+#endif // BASE_CRYPTO_CRYPTO_MODULE_BLOCKING_PASSWORD_DELEGATE_H_ |