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

Unified Diff: net/base/layered_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/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/layered_network_delegate.cc
diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
index f99d6e1734f5644ed35b7735ddc52d9f79903e91..41c22c162c3165291399dead7c0beeee0ea98fd3 100644
--- a/net/base/layered_network_delegate.cc
+++ b/net/base/layered_network_delegate.cc
@@ -254,4 +254,44 @@ void LayeredNetworkDelegate::
const GURL& referrer_url) const {
}
+bool LayeredNetworkDelegate::OnCanQueueReportingReport(
+ const url::Origin& origin) const {
+ OnCanQueueReportingReportInternal(origin);
+ return nested_network_delegate_->CanQueueReportingReport(origin);
+}
+
+void LayeredNetworkDelegate::OnCanQueueReportingReportInternal(
+ const url::Origin& origin) const {}
+
+bool LayeredNetworkDelegate::OnCanSendReportingReport(
+ const url::Origin& origin) const {
+ OnCanSendReportingReportInternal(origin);
+ return nested_network_delegate_->CanSendReportingReport(origin);
+}
+
+void LayeredNetworkDelegate::OnCanSendReportingReportInternal(
+ const url::Origin& origin) const {}
+
+bool LayeredNetworkDelegate::OnCanSetReportingClient(
+ const url::Origin& origin,
+ const GURL& endpoint) const {
+ OnCanSetReportingClientInternal(origin, endpoint);
+ return nested_network_delegate_->CanSetReportingClient(origin, endpoint);
+}
+
+void LayeredNetworkDelegate::OnCanSetReportingClientInternal(
+ const url::Origin& origin,
+ const GURL& endpoint) const {}
+
+bool LayeredNetworkDelegate::OnCanUseReportingClient(
+ const url::Origin& origin,
+ const GURL& endpoint) const {
+ OnCanUseReportingClientInternal(origin, endpoint);
+ return nested_network_delegate_->CanUseReportingClient(origin, endpoint);
+}
+
+void LayeredNetworkDelegate::OnCanUseReportingClientInternal(
+ const url::Origin& origin,
+ const GURL& endpoint) const {}
+
} // namespace net
« no previous file with comments | « net/base/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698