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 4290bc9f181986154375b743dab6b828d4966d7a..3821b935ded6557338a8a19f30bde16dd8e8c1bf 100644 |
--- a/components/subresource_filter/content/renderer/subresource_filter_agent.h |
+++ b/components/subresource_filter/content/renderer/subresource_filter_agent.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "components/subresource_filter/content/common/document_load_statistics.h" |
#include "components/subresource_filter/core/common/activation_state.h" |
#include "content/public/renderer/render_frame_observer.h" |
#include "url/gurl.h" |
@@ -56,11 +57,9 @@ 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. |
+ // Sends statistics about DocumentSubresourceFilter's work to the browser. |
engedy
2016/12/28 09:36:02
nit: about the
pkalinnikov
2016/12/28 13:43:23
Done.
|
virtual void SendDocumentLoadStatistics( |
- base::TimeDelta evaluation_total_wall_duration, |
- base::TimeDelta evaluation_total_cpu_duration); |
+ const DocumentLoadStatistics& statistics); |
private: |
void OnActivateForProvisionalLoad(ActivationState activation_state, |