Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / ssl / ssl_cert_reporter.h
blob37c8d87e5b516ac5d6029f401ec4c22074a72e35
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_
6 #define CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_
8 #include <string>
10 namespace net {
11 class SSLInfo;
12 } // namespace net
14 // An interface used by interstitial pages to send reports of invalid
15 // certificate chains.
16 class SSLCertReporter {
17 public:
18 virtual ~SSLCertReporter() {}
20 // Sends a serialized certificate report to the report collection
21 // endpoint.
22 virtual void ReportInvalidCertificateChain(
23 const std::string& serialized_report) = 0;
26 #endif // CHROME_BROWSER_SSL_SSL_CERT_REPORTER_H_