| Index: net/url_request/report_sender.h
|
| diff --git a/net/url_request/report_sender.h b/net/url_request/report_sender.h
|
| index 6bfc72ced5397652a11ff407172a8358e938d9c9..7ba8302cabe1cf401233f777cc63344d1b2c26af 100644
|
| --- a/net/url_request/report_sender.h
|
| +++ b/net/url_request/report_sender.h
|
| @@ -34,15 +34,10 @@ class NET_EXPORT ReportSender
|
| using ErrorCallback = base::Callback<
|
| void(const GURL&, int /* net_error */, int /* http_response_code */)>;
|
|
|
| - // Represents whether or not to send cookies along with reports.
|
| - enum CookiesPreference { SEND_COOKIES, DO_NOT_SEND_COOKIES };
|
| -
|
| // Constructs a ReportSender that sends reports with the
|
| - // given |request_context| and includes or excludes cookies based on
|
| - // |cookies_preference|. |request_context| must outlive the
|
| - // ReportSender.
|
| - ReportSender(URLRequestContext* request_context,
|
| - CookiesPreference cookies_preference);
|
| + // given |request_context|, always excluding cookies. |request_context| must
|
| + // outlive the ReportSender.
|
| + explicit ReportSender(URLRequestContext* request_context);
|
|
|
| ~ReportSender() override;
|
|
|
| @@ -59,9 +54,6 @@ class NET_EXPORT ReportSender
|
|
|
| private:
|
| net::URLRequestContext* const request_context_;
|
| -
|
| - CookiesPreference cookies_preference_;
|
| -
|
| std::map<URLRequest*, std::unique_ptr<URLRequest>> inflight_requests_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ReportSender);
|
|
|