blob: 8d5d60a0ef151769355e0995ffc01714b65c8884 [file] [log] [blame]
// Copyright (c) 2011 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.
#include <string>
namespace net {
class SSLInfo;
// FraudulentCertificateReporter is an interface for asynchronously
// reporting certificate chains that fail the certificate pinning
// check.
class FraudulentCertificateReporter {
virtual ~FraudulentCertificateReporter() {}
// Sends a report to the report collection server containing the |ssl_info|
// associated with a connection to |hostname|.
virtual void SendReport(const std::string& hostname,
const SSLInfo& ssl_info) = 0;
} // namespace net