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

Unified Diff: net/ssl/client_key_store.cc

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing un-needed forward decl. Created 5 years, 1 month 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
« no previous file with comments | « net/ssl/client_key_store.h ('k') | net/ssl/ssl_client_auth_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_key_store.cc
diff --git a/net/ssl/client_key_store.cc b/net/ssl/client_key_store.cc
index 358bc8e2f57b046f0cffd94e9fc20912f7b923cb..5001703ce2db5fea81ef7d3f6140e07342ae8908 100644
--- a/net/ssl/client_key_store.cc
+++ b/net/ssl/client_key_store.cc
@@ -38,12 +38,12 @@ void ClientKeyStore::RemoveProvider(const CertKeyProvider* provider) {
providers_.erase(it);
}
-scoped_ptr<SSLPrivateKey> ClientKeyStore::FetchClientCertPrivateKey(
+scoped_refptr<SSLPrivateKey> ClientKeyStore::FetchClientCertPrivateKey(
const X509Certificate& certificate) {
base::AutoLock auto_lock(lock_);
for (const auto& provider : providers_) {
- scoped_ptr<SSLPrivateKey> key;
+ scoped_refptr<SSLPrivateKey> key;
if (provider->GetCertificateKey(certificate, &key))
return key.Pass();
}
« no previous file with comments | « net/ssl/client_key_store.h ('k') | net/ssl/ssl_client_auth_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698