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

Unified Diff: net/http/http_cache_transaction.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/http/failing_http_transaction_factory.cc ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.h
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index 79274f0d2bce17241220585922a7d01b4856f26d..eac49c2fa30535073eb4acf6911f7cbec4f9d6c2 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -138,8 +138,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;
@@ -357,8 +357,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.
« no previous file with comments | « net/http/failing_http_transaction_factory.cc ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698