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

Unified Diff: chrome/browser/safe_browsing/ping_manager.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
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/ssl/certificate_reporting_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/ping_manager.cc
diff --git a/chrome/browser/safe_browsing/ping_manager.cc b/chrome/browser/safe_browsing/ping_manager.cc
index 0a6908db57f336892cdd143ce1de4c655b40da1c..5844350098184fd8791ebdbbafef3f374a90424a 100644
--- a/chrome/browser/safe_browsing/ping_manager.cc
+++ b/chrome/browser/safe_browsing/ping_manager.cc
@@ -16,7 +16,7 @@
#include "net/base/escape.h"
#include "net/base/load_flags.h"
#include "net/ssl/ssl_info.h"
-#include "net/url_request/certificate_report_sender.h"
+#include "net/url_request/report_sender.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
@@ -61,13 +61,13 @@ SafeBrowsingPingManager::SafeBrowsingPingManager(
bool use_insecure_certificate_upload_url =
certificate_reporting::ErrorReporter::IsHttpUploadUrlSupported();
- net::CertificateReportSender::CookiesPreference cookies_preference;
+ net::ReportSender::CookiesPreference cookies_preference;
GURL certificate_upload_url;
if (use_insecure_certificate_upload_url) {
- cookies_preference = net::CertificateReportSender::DO_NOT_SEND_COOKIES;
+ cookies_preference = net::ReportSender::DO_NOT_SEND_COOKIES;
certificate_upload_url = GURL(kExtendedReportingUploadUrlInsecure);
} else {
- cookies_preference = net::CertificateReportSender::SEND_COOKIES;
+ cookies_preference = net::ReportSender::SEND_COOKIES;
certificate_upload_url = GURL(kExtendedReportingUploadUrlSecure);
}
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/ssl/certificate_reporting_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698