Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SSL_SSL_INTERSTITIAL_CERTIFICATE_REPORTER_H_ | |
| 6 #define CHROME_BROWSER_SSL_SSL_INTERSTITIAL_CERTIFICATE_REPORTER_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/logging.h" | |
| 11 #include "chrome/browser/net/chrome_certificate_reporter.h" | |
| 12 | |
| 13 namespace net { | |
| 14 class SSLInfo; | |
| 15 class URLRequestContext; | |
| 16 } | |
| 17 | |
| 18 // This class builds and sends certiifcate reports from SSL blocking | |
| 19 // page interstitials. | |
| 20 class SSLInterstitialCertificateReporter | |
|
felt
2015/03/04 19:15:47
Small detail, but I'm not sure if this is the best
estark
2015/03/04 22:11:57
This class is gone now (see previous comment).
| |
| 21 : public chrome_browser_net::ChromeCertificateReporter { | |
| 22 public: | |
| 23 explicit SSLInterstitialCertificateReporter( | |
| 24 net::URLRequestContext* request_context); | |
| 25 ~SSLInterstitialCertificateReporter() {} | |
| 26 | |
| 27 // chrome_browser_net::ChromeCertificateReporter implementation | |
| 28 virtual void SendReport(const std::string& hostname, | |
| 29 const net::SSLInfo& ssl_info); | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(SSLInterstitialCertificateReporter); | |
| 32 }; | |
| 33 | |
| 34 #endif // CHROME_BROWSER_SSL_SSL_INTERSTITIAL_CERTIFICATE_REPORTER_H_ | |
| OLD | NEW |