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

Unified Diff: net/base/network_delegate_impl.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_impl.h ('k') | net/reporting/reporting_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate_impl.cc
diff --git a/net/base/network_delegate_impl.cc b/net/base/network_delegate_impl.cc
index 52d4efccc8258e89a136baef8a4aa9c22d60fe0f..3ca66c11331a824ab936cfa073530bd2078cef3e 100644
--- a/net/base/network_delegate_impl.cc
+++ b/net/base/network_delegate_impl.cc
@@ -114,4 +114,24 @@ bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
return false;
}
+bool NetworkDelegateImpl::OnCanQueueReportingReport(
+ const url::Origin& origin) const {
+ return true;
+}
+
+bool NetworkDelegateImpl::OnCanSendReportingReport(
+ const url::Origin& origin) const {
+ return true;
+}
+
+bool NetworkDelegateImpl::OnCanSetReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const {
+ return true;
+}
+
+bool NetworkDelegateImpl::OnCanUseReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const {
+ return true;
+}
+
} // namespace net
« no previous file with comments | « net/base/network_delegate_impl.h ('k') | net/reporting/reporting_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698