Index: net/reporting/reporting_header_parser.h |
diff --git a/net/reporting/reporting_header_parser.h b/net/reporting/reporting_header_parser.h |
index 22fe4f3ac9f752a2a95fed7adb9c443913116bfe..2d7ac6ee2424003aae0d2cf56d69b654e2004c51 100644 |
--- a/net/reporting/reporting_header_parser.h |
+++ b/net/reporting/reporting_header_parser.h |
@@ -20,16 +20,11 @@ class Value; |
namespace net { |
class ReportingCache; |
+class ReportingContext; |
-// Parses Report-To headers and writes the endpoint configurations to the |
-// ReportingCache. |
class NET_EXPORT ReportingHeaderParser { |
public: |
- // Parses the normalized Report-To header value |json_value| sent in response |
- // to a request for |url| at |now|, and applies the endpoint configurations |
- // to |cache|. |
- static void ParseHeader(ReportingCache* cache, |
- base::TimeTicks now, |
+ static void ParseHeader(ReportingContext* context, |
const GURL& url, |
const std::string& json_value); |