bool ChromeNSSCryptoModuleDelegate::InitializeSlot(
content::ResourceContext* context,
const base::Closure& initialization_complete_callback) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(!slot_);
base::Callback<void(crypto::ScopedPK11Slot)> get_slot_callback;
if (!initialization_complete_callback.is_null())
void ChromeNSSCryptoModuleDelegate::ShowDialog(const std::string& slot_name,
bool retry) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
ShowCryptoModulePasswordDialog(
slot_name,
retry,