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

Unified Diff: net/reporting/reporting_header_parser.h

Issue 2889193002: Reporting: Add ReportingDelegate to check site permissions (Closed)
Patch Set: rebase, tweak, format Created 3 years, 7 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/reporting/reporting_endpoint_manager.cc ('k') | net/reporting/reporting_header_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_header_parser.h
diff --git a/net/reporting/reporting_header_parser.h b/net/reporting/reporting_header_parser.h
index 2d7ac6ee2424003aae0d2cf56d69b654e2004c51..fc165f31116dd6e5bb8e5af88f67f45c0fea49bd 100644
--- a/net/reporting/reporting_header_parser.h
+++ b/net/reporting/reporting_header_parser.h
@@ -8,18 +8,12 @@
#include <string>
#include "base/macros.h"
-#include "base/time/time.h"
#include "net/base/net_export.h"
class GURL;
-namespace base {
-class Value;
-} // namespace base
-
namespace net {
-class ReportingCache;
class ReportingContext;
class NET_EXPORT ReportingHeaderParser {
@@ -29,17 +23,6 @@ class NET_EXPORT ReportingHeaderParser {
const std::string& json_value);
private:
- // Processes a single endpoint's parsed value from the Report-To header(s).
- // Creates, updates, or removes a client in the cache as needed.
- //
- // |url| is the URL that the header came from.
- //
- // |value| is the parsed value.
- static void ProcessEndpoint(ReportingCache* cache,
- base::TimeTicks now,
- const GURL& url,
- const base::Value& value);
-
DISALLOW_IMPLICIT_CONSTRUCTORS(ReportingHeaderParser);
};
« no previous file with comments | « net/reporting/reporting_endpoint_manager.cc ('k') | net/reporting/reporting_header_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698