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

Unified Diff: net/reporting/reporting_delegate.h

Issue 2891133003: Reporting: Wire ReportingDelegate into ChromeNetworkDelegate (Closed)
Patch Set: 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_context.cc ('k') | net/reporting/reporting_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_delegate.h
diff --git a/net/reporting/reporting_delegate.h b/net/reporting/reporting_delegate.h
index 7acf4c764f2911c737971c2035850c64cb38ddff..d2052f6e798920d5ae702f5ad1f852acc0d6767e 100644
--- a/net/reporting/reporting_delegate.h
+++ b/net/reporting/reporting_delegate.h
@@ -18,6 +18,8 @@ class Origin;
namespace net {
+class URLRequestContext;
+
class NET_EXPORT ReportingDelegate {
public:
virtual ~ReportingDelegate();
@@ -38,7 +40,8 @@ class NET_EXPORT ReportingDelegate {
virtual bool CanUseClient(const url::Origin& origin,
const GURL& endpoint) const = 0;
- static std::unique_ptr<ReportingDelegate> Create();
+ static std::unique_ptr<ReportingDelegate> Create(
+ URLRequestContext* request_context);
};
} // namespace net
« no previous file with comments | « net/reporting/reporting_context.cc ('k') | net/reporting/reporting_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698