| Index: content/browser/loader/resource_loader_unittest.cc
|
| diff --git a/content/browser/loader/resource_loader_unittest.cc b/content/browser/loader/resource_loader_unittest.cc
|
| index 05ed7fc4efb871db613b047f0af2cc02375f3214..d7c7e0d58512181a29e2093e8ce367fb6ac83d68 100644
|
| --- a/content/browser/loader/resource_loader_unittest.cc
|
| +++ b/content/browser/loader/resource_loader_unittest.cc
|
| @@ -458,8 +458,9 @@ class SelectCertificateBrowserClient : public TestContentBrowserClient {
|
| int call_count() { return call_count_; }
|
| net::CertificateList passed_certs() { return passed_certs_; }
|
|
|
| - void ContinueWithCertificate(net::X509Certificate* cert) {
|
| - delegate_->ContinueWithCertificate(cert);
|
| + void ContinueWithCertificate(net::X509Certificate* cert,
|
| + net::SSLPrivateKey* private_key) {
|
| + delegate_->ContinueWithCertificate(cert, private_key);
|
| delegate_.reset();
|
| }
|
|
|
| @@ -716,8 +717,8 @@ TEST_F(ClientCertResourceLoaderTest, WithStoreLookup) {
|
| EXPECT_EQ(1, test_client.call_count());
|
| EXPECT_EQ(dummy_certs, test_client.passed_certs());
|
|
|
| - // Continue the request.
|
| - test_client.ContinueWithCertificate(nullptr);
|
| + // Continue the request with no certificate.
|
| + test_client.ContinueWithCertificate(nullptr, nullptr);
|
| raw_ptr_resource_handler_->WaitForResponseComplete();
|
| EXPECT_EQ(net::OK, raw_ptr_resource_handler_->status().error());
|
|
|
| @@ -741,8 +742,8 @@ TEST_F(ClientCertResourceLoaderTest, WithNullStore) {
|
| EXPECT_EQ(1, test_client.call_count());
|
| EXPECT_EQ(net::CertificateList(), test_client.passed_certs());
|
|
|
| - // Continue the request.
|
| - test_client.ContinueWithCertificate(nullptr);
|
| + // Continue the request with no certificate.
|
| + test_client.ContinueWithCertificate(nullptr, nullptr);
|
| raw_ptr_resource_handler_->WaitForResponseComplete();
|
| EXPECT_EQ(net::OK, raw_ptr_resource_handler_->status().error());
|
|
|
|
|