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

Unified Diff: ios/chrome/browser/browser_state/chrome_browser_state_io_data.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
« no previous file with comments | « components/certificate_reporting/error_reporter_unittest.cc ('k') | net/url_request/report_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
diff --git a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
index 65b183bb569b83cd8577f65428ea7bf589ec4223..c7efc0695ed6ae99143ad1af7bd73b82b234c3a5 100644
--- a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
+++ b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
@@ -363,8 +363,8 @@ void ChromeBrowserStateIOData::Init(
pool->GetSequenceToken(), base::SequencedWorkerPool::BLOCK_SHUTDOWN),
IsOffTheRecord()));
- certificate_report_sender_.reset(new net::ReportSender(
- main_request_context_.get(), net::ReportSender::DO_NOT_SEND_COOKIES));
+ certificate_report_sender_ =
+ base::MakeUnique<net::ReportSender>(main_request_context_.get());
transport_security_state_->SetReportSender(certificate_report_sender_.get());
// Take ownership over these parameters.
« no previous file with comments | « components/certificate_reporting/error_reporter_unittest.cc ('k') | net/url_request/report_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698