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

Unified Diff: net/http/failing_http_transaction_factory.cc

Issue 1422573008: Plumbing SSLPrivateKey (//net) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing un-needed forward decl. Created 5 years, 1 month 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/BUILD.gn ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/failing_http_transaction_factory.cc
diff --git a/net/http/failing_http_transaction_factory.cc b/net/http/failing_http_transaction_factory.cc
index adb96914ad0f1c2bdc4697791bc70d1572aeae6d..fb593f0e5125424b1513071f17d1fc2770e93fdb 100644
--- a/net/http/failing_http_transaction_factory.cc
+++ b/net/http/failing_http_transaction_factory.cc
@@ -23,6 +23,7 @@ class AuthCredentials;
class BoundNetLog;
class HttpRequestHeaders;
class IOBuffer;
+class SSLPrivateKey;
class X509Certificate;
namespace {
@@ -41,6 +42,7 @@ class FailingHttpTransaction : 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;
@@ -95,7 +97,8 @@ int FailingHttpTransaction::RestartIgnoringLastError(
int FailingHttpTransaction::RestartWithCertificate(
X509Certificate* client_cert,
- const CompletionCallback& callback) {
+ SSLPrivateKey* client_private_key,
+ const CompletionCallback& callback) {
return ERR_FAILED;
}
@@ -211,4 +214,3 @@ HttpNetworkSession* FailingHttpTransactionFactory::GetSession() {
}
} // namespace net
-
« no previous file with comments | « net/BUILD.gn ('k') | net/http/http_cache_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698