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

Unified Diff: net/base/network_delegate.cc

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/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 960f05ffa1c65a75220224725b1a82146ed5439b..6344e4ddfd1b5164d4f3d76925eec9cac6802518 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -185,6 +185,28 @@ bool NetworkDelegate::CancelURLRequestWithPolicyViolatingReferrerHeader(
request, target_url, referrer_url);
}
+bool NetworkDelegate::CanQueueReportingReport(const url::Origin& origin) const {
+ DCHECK(CalledOnValidThread());
+ return OnCanQueueReportingReport(origin);
+}
+
+bool NetworkDelegate::CanSendReportingReport(const url::Origin& origin) const {
+ DCHECK(CalledOnValidThread());
+ return OnCanSendReportingReport(origin);
+}
+
+bool NetworkDelegate::CanSetReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const {
+ DCHECK(CalledOnValidThread());
+ return OnCanSetReportingClient(origin, endpoint);
+}
+
+bool NetworkDelegate::CanUseReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const {
+ DCHECK(CalledOnValidThread());
+ return OnCanUseReportingClient(origin, endpoint);
+}
+
void NetworkDelegate::OnResponseStarted(URLRequest* request, int net_error) {
OnResponseStarted(request);
}
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698