diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-12 21:45:11 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-12 21:45:11 +0000 |
commit | 0b45559b42825a157d3f468e1a5ee102cc67d9a8 (patch) | |
tree | 00d25404d9803f5e905eab058cd175dca9fb68e0 /net/http/http_transaction_unittest.h | |
parent | 37a24e0d9e75a916c13900cf34d7c6b54acc2001 (diff) | |
download | chromium_src-0b45559b42825a157d3f468e1a5ee102cc67d9a8.zip chromium_src-0b45559b42825a157d3f468e1a5ee102cc67d9a8.tar.gz chromium_src-0b45559b42825a157d3f468e1a5ee102cc67d9a8.tar.bz2 |
Specify new methods for supporting SSL client authentication.
See the changes to url_request.h and ssl_cert_request_info.h.
They are similar to the methods for handling SSL certificate
errors and HTTP authentication.
The handling of servers that request but don't require SSL
client authentication is reimplemented using the new methods.
R=rvargas,eroman
BUG=http://crbug.com/318
TEST=none
Review URL: http://codereview.chromium.org/118039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction_unittest.h')
-rw-r--r-- | net/http/http_transaction_unittest.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h index d0a51b0..f72c305 100644 --- a/net/http/http_transaction_unittest.h +++ b/net/http/http_transaction_unittest.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -234,6 +234,11 @@ class MockNetworkTransaction : public net::HttpTransaction { return net::ERR_FAILED; } + virtual int RestartWithCertificate(net::X509Certificate* client_cert, + net::CompletionCallback* callback) { + return net::ERR_FAILED; + } + virtual int RestartWithAuth(const std::wstring& username, const std::wstring& password, net::CompletionCallback* callback) { |