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

Side by Side Diff: chrome/browser/ssl/ssl_interstitial_certificate_reporter.h

Issue 979893003: Refactor ChromeFraudulentCertReporter for code reuse by SSL reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698