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

Unified Diff: components/certificate_reporting/error_reporter.cc

Issue 2851493003: Remove unused CookiePreferences from report sender and never send cookies (Closed)
Patch Set: Fix rebase 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 6b1e22db7afed7bdad2d0eee3dc10152606ac97c..aebdbb7a9fc0908ec1e8549daf84cc4b10ced717 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,
« no previous file with comments | « components/certificate_reporting/error_reporter.h ('k') | components/certificate_reporting/error_reporter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698