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

Unified Diff: net/url_request/report_sender.h

Issue 2365353004: Add Content-Type header to net::ReportSender reports (Closed)
Patch Set: make content type a required parameter to Send() Created 4 years, 3 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: net/url_request/report_sender.h
diff --git a/net/url_request/report_sender.h b/net/url_request/report_sender.h
index f74899fd4c337511c618f3d319b9664e10e11ed7..851bbaac5ea2ec74d840247ed57c1775a2df9ea1 100644
--- a/net/url_request/report_sender.h
+++ b/net/url_request/report_sender.h
@@ -54,7 +54,9 @@ class NET_EXPORT ReportSender
~ReportSender() override;
// TransportSecurityState::ReportSenderInterface implementation.
- void Send(const GURL& report_uri, const std::string& report) override;
+ void Send(const GURL& report_uri,
+ const std::string& content_type,
+ const std::string& report) override;
void SetErrorCallback(const ErrorCallback& error_callback) override;
// net::URLRequest::Delegate implementation.

Powered by Google App Engine
This is Rietveld 408576698