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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing extra tab. Created 5 years, 2 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/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 7ff74d2b341e4205e665bdd5ee9a4a28197e7afa..d13872357c6fb144a8205897b72c862f29961dd2 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -1268,7 +1268,8 @@ void URLRequestHttpJob::CancelAuth() {
}
void URLRequestHttpJob::ContinueWithCertificate(
- X509Certificate* client_cert) {
+ X509Certificate* client_cert,
+ SSLPrivateKey* client_private_key) {
DCHECK(transaction_.get());
DCHECK(!response_info_) << "should not have a response yet";
@@ -1280,7 +1281,8 @@ void URLRequestHttpJob::ContinueWithCertificate(
// be notifying our consumer asynchronously via OnStartCompleted.
SetStatus(URLRequestStatus(URLRequestStatus::IO_PENDING, 0));
- int rv = transaction_->RestartWithCertificate(client_cert, start_callback_);
+ int rv = transaction_->RestartWithCertificate(client_cert, client_private_key,
+ start_callback_);
if (rv == ERR_IO_PENDING)
return;

Powered by Google App Engine
This is Rietveld 408576698