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

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

Issue 2026213002: Refactor CertificateReportSender (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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_expect_ct_reporter.cc
diff --git a/chrome/browser/ssl/chrome_expect_ct_reporter.cc b/chrome/browser/ssl/chrome_expect_ct_reporter.cc
index b39f6d5403f40f419984cb6a023bdec8d358205d..14da6505d7153e123356f4ffbc6aef5c5b9e306e 100644
--- a/chrome/browser/ssl/chrome_expect_ct_reporter.cc
+++ b/chrome/browser/ssl/chrome_expect_ct_reporter.cc
@@ -17,7 +17,7 @@
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "chrome/common/chrome_features.h"
-#include "net/url_request/certificate_report_sender.h"
+#include "net/url_request/report_sender.h"
namespace {
@@ -114,10 +114,10 @@ void RecordUMAOnFailure(const GURL& report_uri, int net_error) {
ChromeExpectCTReporter::ChromeExpectCTReporter(
net::URLRequestContext* request_context)
- : report_sender_(new net::CertificateReportSender(
- request_context,
- net::CertificateReportSender::DO_NOT_SEND_COOKIES,
- base::Bind(RecordUMAOnFailure))) {}
+ : report_sender_(
+ new net::ReportSender(request_context,
+ net::ReportSender::DO_NOT_SEND_COOKIES,
+ base::Bind(RecordUMAOnFailure))) {}
ChromeExpectCTReporter::~ChromeExpectCTReporter() {}
« no previous file with comments | « chrome/browser/ssl/chrome_expect_ct_reporter.h ('k') | chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698