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

Unified Diff: net/http/http_cache_transaction.h

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing unused function in Android. Created 5 years, 3 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 303e0e3c0c4e6312e137a9386333b2ae4bf8e538..a528138e376e11347f43e193edd4199d48808e68 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -38,6 +38,7 @@ namespace net {
class PartialData;
struct HttpRequestInfo;
struct LoadTimingInfo;
+class SSLPrivateKey;
// This is the transaction that is returned by the HttpCache transaction
// factory.
@@ -133,6 +134,7 @@ class HttpCache::Transaction : public HttpTransaction {
const BoundNetLog& net_log) override;
int RestartIgnoringLastError(const CompletionCallback& callback) override;
int RestartWithCertificate(X509Certificate* client_cert,
+ SSLPrivateKey* client_private_key,
const CompletionCallback& callback) override;
int RestartWithAuth(const AuthCredentials& credentials,
const CompletionCallback& callback) override;
@@ -331,7 +333,8 @@ class HttpCache::Transaction : public HttpTransaction {
// Called to restart a network transaction with a client certificate.
// Returns network error code.
- int RestartNetworkRequestWithCertificate(X509Certificate* client_cert);
+ int RestartNetworkRequestWithCertificate(X509Certificate* client_cert,
+ 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