Chromium Code Reviews| 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..319d47f0a2f0ca08911f1a0107feec1a48dad9c4 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 spend by DocumentSubresourceFilter in |
|
engedy
2016/12/21 19:10:28
nit: spent
pkalinnikov
2016/12/22 16:53:04
Done.
|
| + // 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, |