#include "chrome/browser/ui/crypto_module_delegate_nss.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread_restrictions.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
BrowserThread;
ChromeNSSCryptoModuleDelegate::ChromeNSSCryptoModuleDelegate(
CryptoModulePasswordReason reason,
const net::HostPortPair& server)
: … { … }
ChromeNSSCryptoModuleDelegate::~ChromeNSSCryptoModuleDelegate() { … }
std::string ChromeNSSCryptoModuleDelegate::RequestPassword(
const std::string& slot_name,
bool retry,
bool* cancelled) { … }
void ChromeNSSCryptoModuleDelegate::ShowDialog(const std::string& slot_name,
bool retry) { … }
void ChromeNSSCryptoModuleDelegate::GotPassword(const std::string& password) { … }
crypto::CryptoModuleBlockingPasswordDelegate*
CreateCryptoModuleBlockingPasswordDelegate(CryptoModulePasswordReason reason,
const net::HostPortPair& server) { … }