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

Unified Diff: net/http/http_cache_transaction.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: . Created 3 years, 7 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: 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.

Powered by Google App Engine
This is Rietveld 408576698