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

Unified Diff: net/ssl/ssl_client_auth_cache.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
« no previous file with comments | « net/ssl/openssl_client_key_store_unittest.cc ('k') | net/ssl/ssl_client_auth_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_client_auth_cache.h
diff --git a/net/ssl/ssl_client_auth_cache.h b/net/ssl/ssl_client_auth_cache.h
index 51b496f492c7391ec2d81d85b78d908b19570395..6486967ec48ab9f67f9583b12d883829279075c6 100644
--- a/net/ssl/ssl_client_auth_cache.h
+++ b/net/ssl/ssl_client_auth_cache.h
@@ -46,8 +46,8 @@ class NET_EXPORT_PRIVATE SSLClientAuthCache : public CertDatabase::Observer {
// overwritten. A NULL |client_cert| indicates a preference that no client
// certificate should be sent to |server|.
void Add(const HostPortPair& server,
- X509Certificate* client_cert,
- SSLPrivateKey* private_key);
+ scoped_refptr<X509Certificate> client_cert,
+ scoped_refptr<SSLPrivateKey> private_key);
// Remove the client certificate for |server| from the cache, if one exists.
void Remove(const HostPortPair& server);
« no previous file with comments | « net/ssl/openssl_client_key_store_unittest.cc ('k') | net/ssl/ssl_client_auth_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698