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

Unified Diff: net/url_request/report_sender.h

Issue 2365353004: Add Content-Type header to net::ReportSender reports (Closed)
Patch Set: eroman comment 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
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/url_request/report_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0bcf28737f5642557acd7337203c6ae3f8ba71a4 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,
+ base::StringPiece content_type,
+ base::StringPiece report) override;
void SetErrorCallback(const ErrorCallback& error_callback) override;
// net::URLRequest::Delegate implementation.
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/url_request/report_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698