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

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 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: 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 c4be17956f74e3ad950fd20a6f2f159814bebb35..e165dcc2637fdf73766fd7af3be726131c94cf0e 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,
« no previous file with comments | « chrome/browser/safe_browsing/notification_image_reporter.cc ('k') | chrome/browser/ssl/chrome_expect_ct_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698