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

Unified Diff: chrome/browser/safe_browsing/permission_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: chrome/browser/safe_browsing/permission_reporter.cc
diff --git a/chrome/browser/safe_browsing/permission_reporter.cc b/chrome/browser/safe_browsing/permission_reporter.cc
index ba00b2fdd80a61e68b07177db25b2439920c962d..430265c697b6e7d737a9a9941174b766b6805c42 100644
--- a/chrome/browser/safe_browsing/permission_reporter.cc
+++ b/chrome/browser/safe_browsing/permission_reporter.cc
@@ -144,11 +144,8 @@ std::size_t PermissionAndOriginHash::operator()(
}
PermissionReporter::PermissionReporter(net::URLRequestContext* request_context)
- : PermissionReporter(
- base::MakeUnique<net::ReportSender>(
- request_context,
- net::ReportSender::CookiesPreference::DO_NOT_SEND_COOKIES),
- base::WrapUnique(new base::DefaultClock)) {}
+ : PermissionReporter(base::MakeUnique<net::ReportSender>(request_context),
+ base::WrapUnique(new base::DefaultClock)) {}
PermissionReporter::PermissionReporter(
std::unique_ptr<net::ReportSender> report_sender,

Powered by Google App Engine
This is Rietveld 408576698