| Index: components/subresource_filter/content/renderer/subresource_filter_agent.h
|
| diff --git a/components/subresource_filter/content/renderer/subresource_filter_agent.h b/components/subresource_filter/content/renderer/subresource_filter_agent.h
|
| index 43beacd3799feeaade7970203e34fdea2de7e0af..4290bc9f181986154375b743dab6b828d4966d7a 100644
|
| --- a/components/subresource_filter/content/renderer/subresource_filter_agent.h
|
| +++ b/components/subresource_filter/content/renderer/subresource_filter_agent.h
|
| @@ -56,6 +56,12 @@ class SubresourceFilterAgent
|
| // the most recently committed load. Not called if all resources are allowed.
|
| virtual void SignalFirstSubresourceDisallowedForCommittedLoad();
|
|
|
| + // Informs the browser about the time spent by DocumentSubresourceFilter in
|
| + // allowLoad calls while evaluating subresource loads for the current frame.
|
| + virtual void SendDocumentLoadStatistics(
|
| + base::TimeDelta evaluation_total_wall_duration,
|
| + base::TimeDelta evaluation_total_cpu_duration);
|
| +
|
| private:
|
| void OnActivateForProvisionalLoad(ActivationState activation_state,
|
| const GURL& url,
|
|
|