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

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

Issue 1212973002: Add net::CertificateReportSender for handling cert report sending (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pare down reporter interface to just Send() Created 5 years, 5 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/ssl/chrome_fraudulent_certificate_reporter.cc
diff --git a/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc b/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
index e24d71ad28abb0f6e3e5ffe9d70d1ae98e9dc94e..2592d5b910a51cdee944096f0c35e08b6d65a7e7 100644
--- a/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
+++ b/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/net/certificate_error_reporter.h"
#include "chrome/browser/ssl/certificate_error_report.h"
#include "net/ssl/ssl_info.h"
+#include "net/url_request/certificate_report_sender.h"
#include "net/url_request/url_request_context.h"
#include "url/gurl.h"
@@ -25,7 +26,7 @@ ChromeFraudulentCertificateReporter::ChromeFraudulentCertificateReporter(
: certificate_reporter_(new chrome_browser_net::CertificateErrorReporter(
request_context,
GURL(kFraudulentCertificateUploadEndpoint),
- chrome_browser_net::CertificateErrorReporter::DO_NOT_SEND_COOKIES)) {
+ net::CertificateReportSender::DO_NOT_SEND_COOKIES)) {
}
ChromeFraudulentCertificateReporter::ChromeFraudulentCertificateReporter(

Powered by Google App Engine
This is Rietveld 408576698