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

Unified Diff: chrome/browser/ui/crypto_module_delegate_nss.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 months 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
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
index 3af79b9105f04b850234e74e87a36489bc43892f..4e783b126c1588b0d2cdb4d1019fa62d9c73cf62 100644
--- a/chrome/browser/ui/crypto_module_delegate_nss.h
+++ b/chrome/browser/ui/crypto_module_delegate_nss.h
@@ -25,14 +25,16 @@ class ChromeNSSCryptoModuleDelegate
ChromeNSSCryptoModuleDelegate(chrome::CryptoModulePasswordReason reason,
const net::HostPortPair& server);
- ~ChromeNSSCryptoModuleDelegate() override;
-
// crypto::CryptoModuleBlockingPasswordDelegate implementation.
std::string RequestPassword(const std::string& slot_name,
bool retry,
bool* cancelled) override;
private:
+ friend class base::RefCountedThreadSafe<ChromeNSSCryptoModuleDelegate>;
+
+ ~ChromeNSSCryptoModuleDelegate() override;
+
void ShowDialog(const std::string& slot_name, bool retry);
void GotPassword(const std::string& password);

Powered by Google App Engine
This is Rietveld 408576698