Index: components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h |
diff --git a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h |
index e0c8aefc902946f5b5d09c20c893f2ee1f255d8c..1757b576132fff427bb901aba026e0a2e77a2904 100644 |
--- a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h |
+++ b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h |
@@ -7,6 +7,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/time/time.h" |
#include "components/subresource_filter/content/browser/async_document_subresource_filter.h" |
#include "content/public/browser/navigation_throttle.h" |
@@ -46,6 +47,10 @@ class SubframeNavigationFilteringThrottle : public content::NavigationThrottle { |
// Must outlive this class. |
AsyncDocumentSubresourceFilter* parent_frame_filter_; |
+ base::TimeTicks last_defer_timestamp_; |
+ base::TimeDelta total_defer_time_; |
+ bool disallowed_ = false; |
+ |
base::WeakPtrFactory<SubframeNavigationFilteringThrottle> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(SubframeNavigationFilteringThrottle); |