Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index 51c0db70256cbd31505ca20ffba6486ab4c36aad..664d3add480e58fe3e83dda8ccae29502f203ec5 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -134,8 +134,8 @@ class HttpCache::Transaction : public HttpTransaction { |
const CompletionCallback& callback, |
const NetLogWithSource& net_log) override; |
int RestartIgnoringLastError(const CompletionCallback& callback) override; |
- int RestartWithCertificate(X509Certificate* client_cert, |
- SSLPrivateKey* client_private_key, |
+ int RestartWithCertificate(scoped_refptr<X509Certificate> client_cert, |
+ scoped_refptr<SSLPrivateKey> client_private_key, |
const CompletionCallback& callback) override; |
int RestartWithAuth(const AuthCredentials& credentials, |
const CompletionCallback& callback) override; |
@@ -331,8 +331,9 @@ class HttpCache::Transaction : public HttpTransaction { |
// Called to restart a network transaction with a client certificate. |
// Returns network error code. |
- int RestartNetworkRequestWithCertificate(X509Certificate* client_cert, |
- SSLPrivateKey* client_private_key); |
+ int RestartNetworkRequestWithCertificate( |
+ scoped_refptr<X509Certificate> client_cert, |
+ scoped_refptr<SSLPrivateKey> client_private_key); |
// Called to restart a network transaction with authentication credentials. |
// Returns network error code. |