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

Unified Diff: chrome/browser/net/chrome_fraudulent_certificate_reporter.cc

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set callback to DoNothing close to where it's used 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
index 2759a97b5374a749a779230681050c507d0b2eab..7dc4c7a216969b370a3f4d49804dfb77cc2428fa 100644
--- a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
+++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
@@ -29,8 +29,8 @@ ChromeFraudulentCertificateReporter::ChromeFraudulentCertificateReporter(
}
ChromeFraudulentCertificateReporter::ChromeFraudulentCertificateReporter(
- scoped_ptr<CertificateErrorReporter> certificate_reporter)
- : certificate_reporter_(certificate_reporter.Pass()) {
+ scoped_refptr<CertificateErrorReporter> certificate_reporter)
+ : certificate_reporter_(certificate_reporter) {
}
ChromeFraudulentCertificateReporter::~ChromeFraudulentCertificateReporter() {

Powered by Google App Engine
This is Rietveld 408576698