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

Unified Diff: chrome/browser/safe_browsing/ping_manager.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
« 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 ac20c636c608690aa2df9e93b2dfdbf5eee609fa..af4f397410cb2b4895d9453d4933ed100898e8c6 100644
--- a/chrome/browser/safe_browsing/ping_manager.cc
+++ b/chrome/browser/safe_browsing/ping_manager.cc
@@ -14,6 +14,7 @@
#include "google_apis/google_api_keys.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
+#include "net/http/certificate_report_sender.h"
#include "net/ssl/ssl_info.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_context_getter.h"
@@ -58,13 +59,13 @@ SafeBrowsingPingManager::SafeBrowsingPingManager(
bool use_insecure_certificate_upload_url =
CertificateErrorReporter::IsHttpUploadUrlSupported();
- CertificateErrorReporter::CookiesPreference cookies_preference;
+ net::CertificateReportSender::CookiesPreference cookies_preference;
GURL certificate_upload_url;
if (use_insecure_certificate_upload_url) {
- cookies_preference = CertificateErrorReporter::DO_NOT_SEND_COOKIES;
+ cookies_preference = net::CertificateReportSender::DO_NOT_SEND_COOKIES;
certificate_upload_url = GURL(kExtendedReportingUploadUrlInsecure);
} else {
- cookies_preference = CertificateErrorReporter::SEND_COOKIES;
+ cookies_preference = net::CertificateReportSender::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