Index: net/base/layered_network_delegate_unittest.cc |
diff --git a/net/base/layered_network_delegate_unittest.cc b/net/base/layered_network_delegate_unittest.cc |
index cd9f5d2443c286bf657e7a44c39c506bebeaff8c..b92ee03f6b12f99f128fa333150b6d7155675dbb 100644 |
--- a/net/base/layered_network_delegate_unittest.cc |
+++ b/net/base/layered_network_delegate_unittest.cc |
@@ -335,6 +335,30 @@ class TestLayeredNetworkDelegate : public LayeredNetworkDelegate { |
"violating_referrer_header_count"]); |
} |
+ void OnCanQueueReportingReportInternal( |
+ const url::Origin& origin) const override { |
+ ++(*counters_)["on_can_queue_reporting_report_count"]; |
+ EXPECT_EQ(1, (*counters_)["on_can_queue_reporting_report_count"]); |
+ } |
+ |
+ void OnCanSendReportingReportInternal( |
+ const url::Origin& origin) const override { |
+ ++(*counters_)["on_can_send_reporting_report_count"]; |
+ EXPECT_EQ(1, (*counters_)["on_can_send_reporting_report_count"]); |
+ } |
+ |
+ void OnCanSetReportingClientInternal(const url::Origin& origin, |
+ const GURL& endpoint) const override { |
+ ++(*counters_)["on_can_set_reporting_client_count"]; |
+ EXPECT_EQ(1, (*counters_)["on_can_set_reporting_client_count"]); |
+ } |
+ |
+ void OnCanUseReportingClientInternal(const url::Origin& origin, |
+ const GURL& endpoint) const override { |
+ ++(*counters_)["on_can_use_reporting_client_count"]; |
+ EXPECT_EQ(1, (*counters_)["on_can_use_reporting_client_count"]); |
+ } |
+ |
private: |
TestURLRequestContext context_; |
TestDelegate delegate_; |