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

Unified Diff: components/certificate_reporting/error_reporter.cc

Issue 2851493003: Remove unused CookiePreferences from report sender and never send cookies (Closed)
Patch Set: Fix iOS build Created 3 years, 8 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: components/certificate_reporting/error_reporter.cc
diff --git a/components/certificate_reporting/error_reporter.cc b/components/certificate_reporting/error_reporter.cc
index 3ab3a3c9cecfff76bb58639f623e69a59d2576a7..1f69a7e36944026f738b42f86876e17f7ea125aa 100644
--- a/components/certificate_reporting/error_reporter.cc
+++ b/components/certificate_reporting/error_reporter.cc
@@ -100,15 +100,12 @@ bool EncryptSerializedReport(const uint8_t* server_public_key,
} // namespace
-ErrorReporter::ErrorReporter(
- net::URLRequestContext* request_context,
- const GURL& upload_url,
- net::ReportSender::CookiesPreference cookies_preference)
+ErrorReporter::ErrorReporter(net::URLRequestContext* request_context,
+ const GURL& upload_url)
: ErrorReporter(upload_url,
kServerPublicKey,
kServerPublicKeyVersion,
- base::MakeUnique<net::ReportSender>(request_context,
- cookies_preference)) {}
+ base::MakeUnique<net::ReportSender>(request_context)) {}
ErrorReporter::ErrorReporter(
const GURL& upload_url,

Powered by Google App Engine
This is Rietveld 408576698