| Index: components/certificate_reporting/error_reporter_unittest.cc
|
| diff --git a/components/certificate_reporting/error_reporter_unittest.cc b/components/certificate_reporting/error_reporter_unittest.cc
|
| index 66d84b28662de4fc43ab9270eaa351b00ab1acb3..b613788b195c51f7e3b60c1775f103e0fbb61196 100644
|
| --- a/components/certificate_reporting/error_reporter_unittest.cc
|
| +++ b/components/certificate_reporting/error_reporter_unittest.cc
|
| @@ -51,8 +51,7 @@ void SuccessCallback(bool* called) {
|
| // sent.
|
| class MockCertificateReportSender : public net::ReportSender {
|
| public:
|
| - MockCertificateReportSender()
|
| - : net::ReportSender(nullptr, DO_NOT_SEND_COOKIES) {}
|
| + MockCertificateReportSender() : net::ReportSender(nullptr) {}
|
| ~MockCertificateReportSender() override {}
|
|
|
| void Send(const GURL& report_uri,
|
| @@ -179,8 +178,7 @@ TEST_F(ErrorReporterTest, ErroredRequestCallsCallback) {
|
|
|
| const GURL report_uri(
|
| net::URLRequestFailedJob::GetMockHttpUrl(net::ERR_CONNECTION_FAILED));
|
| - ErrorReporter reporter(&context, report_uri,
|
| - net::ReportSender::DO_NOT_SEND_COOKIES);
|
| + ErrorReporter reporter(&context, report_uri);
|
|
|
| bool error_callback_called = false;
|
| bool success_callback_called = false;
|
| @@ -206,8 +204,7 @@ TEST_F(ErrorReporterTest, SuccessfulRequestCallsCallback) {
|
|
|
| const GURL report_uri(
|
| net::URLRequestMockDataJob::GetMockHttpUrl("some data", 1));
|
| - ErrorReporter reporter(&context, report_uri,
|
| - net::ReportSender::DO_NOT_SEND_COOKIES);
|
| + ErrorReporter reporter(&context, report_uri);
|
|
|
| bool error_callback_called = false;
|
| bool success_callback_called = false;
|
|
|