blob: 37c8d87e5b516ac5d6029f401ec4c22074a72e35 [file] [log] [blame]
// Copyright 2015 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.
#ifndef CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_
#define CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_
#include <string>
namespace net {
class SSLInfo;
} // namespace net
// An interface used by interstitial pages to send reports of invalid
// certificate chains.
class SSLCertReporter {
public:
virtual ~SSLCertReporter() {}
// Sends a serialized certificate report to the report collection
// endpoint.
virtual void ReportInvalidCertificateChain(
const std::string& serialized_report) = 0;
};
#endif // CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_