Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: net/url_request/fraudulent_certificate_reporter.h

Issue 1267383002: Allow preloaded pins to contain report URIs; remove special-case reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete more code: CertificateErrorReporter::SendPinningViolationReport() Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef NET_URL_REQUEST_FRAUDULENT_CERTIFICATE_REPORTER_H_
6 #define NET_URL_REQUEST_FRAUDULENT_CERTIFICATE_REPORTER_H_
7
8 #include <string>
9
10 namespace net {
11
12 class SSLInfo;
13
14 // FraudulentCertificateReporter is an interface for asynchronously
15 // reporting certificate chains that fail the certificate pinning
16 // check.
17 class FraudulentCertificateReporter {
18 public:
19 virtual ~FraudulentCertificateReporter() {}
20
21 // Sends a report to the report collection server containing the |ssl_info|
22 // associated with a connection to |hostname|.
23 virtual void SendReport(const std::string& hostname,
24 const SSLInfo& ssl_info) = 0;
25 };
26
27 } // namespace net
28
29 #endif // NET_URL_REQUEST_FRAUDULENT_CERTIFICATE_REPORTER_H_
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698