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

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

Issue 1211933005: Initial (partial) implementation of HPKP violation reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style fixes, comments Created 5 years, 6 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..3ea25ebebfb61be2932bf0aeccc7cca2bdfab16e 100644
--- a/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
+++ b/chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
@@ -7,6 +7,7 @@
#include "base/profiler/scoped_tracker.h"
#include "chrome/browser/net/certificate_error_reporter.h"
#include "chrome/browser/ssl/certificate_error_report.h"
+#include "net/http/certificate_report_sender.h"
#include "net/ssl/ssl_info.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