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

Unified Diff: chrome/browser/safe_browsing/certificate_reporting_service_unittest.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/certificate_reporting_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/certificate_reporting_service_unittest.cc b/chrome/browser/safe_browsing/certificate_reporting_service_unittest.cc
index aff63ebb4dc32bbcf372c90d23ae41738d3a6b2f..724edb52dd9a4a0ff9d368c7d8758276222edfad 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service_unittest.cc
+++ b/chrome/browser/safe_browsing/certificate_reporting_service_unittest.cc
@@ -205,8 +205,7 @@ TEST_F(CertificateReportingServiceReporterOnIOThreadTest,
net::URLRequestFailedJob::GetMockHttpsUrl(net::ERR_SSL_PROTOCOL_ERROR);
certificate_reporting::ErrorReporter* certificate_error_reporter =
new certificate_reporting::ErrorReporter(
- url_request_context_getter()->GetURLRequestContext(), kFailureURL,
- net::ReportSender::DO_NOT_SEND_COOKIES);
+ url_request_context_getter()->GetURLRequestContext(), kFailureURL);
CertificateReportingService::BoundedReportList* list =
new CertificateReportingService::BoundedReportList(2);
@@ -296,8 +295,7 @@ TEST_F(CertificateReportingServiceReporterOnIOThreadTest,
net::URLRequestFailedJob::GetMockHttpsUrl(net::ERR_SSL_PROTOCOL_ERROR);
certificate_reporting::ErrorReporter* certificate_error_reporter =
new certificate_reporting::ErrorReporter(
- url_request_context_getter()->GetURLRequestContext(), kFailureURL,
- net::ReportSender::DO_NOT_SEND_COOKIES);
+ url_request_context_getter()->GetURLRequestContext(), kFailureURL);
CertificateReportingService::BoundedReportList* list =
new CertificateReportingService::BoundedReportList(2);

Powered by Google App Engine
This is Rietveld 408576698