| 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 59%
|
| rename from base/crypto/pk11_blocking_password_delegate.h
|
| rename to base/crypto/crypto_module_blocking_password_delegate.h
|
| index c9eb35c113ba711acc3ff92c22bdbcb3243544c8..ae962a828a6476bad6efc855677847013a805721 100644
|
| --- a/base/crypto/pk11_blocking_password_delegate.h
|
| +++ b/base/crypto/crypto_module_blocking_password_delegate.h
|
| @@ -1,9 +1,9 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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 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 {
|
| 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_
|
|
|