Index: chrome/browser/net/certificate_error_reporter_unittest.cc |
diff --git a/chrome/browser/net/certificate_error_reporter_unittest.cc b/chrome/browser/net/certificate_error_reporter_unittest.cc |
index f154daf2b3d364de30b0a4d8f33cd22516f4517b..194d5695cc598bfa83de0d550dd036a0c30c7f5a 100644 |
--- a/chrome/browser/net/certificate_error_reporter_unittest.cc |
+++ b/chrome/browser/net/certificate_error_reporter_unittest.cc |
@@ -63,20 +63,6 @@ class CertificateErrorReporterTest : public ::testing::Test { |
uint8_t server_private_key_[32]; |
}; |
-// Test that CertificateErrorReporter::SendPinningViolationReport sends |
-// a plaintext report for pinning violation reports. |
-TEST_F(CertificateErrorReporterTest, PinningViolationSendReport) { |
- GURL url(kDummyHttpReportUri); |
- MockCertificateReportSender* mock_report_sender = |
- new MockCertificateReportSender(); |
- CertificateErrorReporter reporter(url, server_public_key_, |
- kServerPublicKeyTestVersion, |
- make_scoped_ptr(mock_report_sender)); |
- reporter.SendPinningViolationReport(kDummyReport); |
- EXPECT_EQ(mock_report_sender->latest_report_uri(), url); |
- EXPECT_EQ(mock_report_sender->latest_report(), kDummyReport); |
-} |
- |
// Test that CertificateErrorReporter::SendExtendedReportingReport sends |
// an encrypted or plaintext extended reporting report as appropriate. |
TEST_F(CertificateErrorReporterTest, ExtendedReportingSendReport) { |