Index: components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h |
diff --git a/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h b/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h |
index f48d6c2e417b20d3969218f525c9c03b0caa3c0b..0f9ff7dbabf9b31e4a66194bd108ec685ed3fd65 100644 |
--- a/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h |
+++ b/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
#include "base/optional.h" |
+#include "base/time/time.h" |
#include "components/subresource_filter/content/browser/verified_ruleset_dealer.h" |
#include "components/subresource_filter/core/common/activation_state.h" |
#include "content/public/browser/navigation_throttle.h" |
@@ -89,6 +90,8 @@ class ActivationStateComputingNavigationThrottle |
// nullptr until NotifyPageActivationWithRuleset is called. |
VerifiedRuleset::Handle* ruleset_handle_; |
+ base::TimeTicks defer_time_; |
+ |
// Becomes true when the throttle manager reaches ReadyToCommitNavigation and |
// sends an activation IPC to the render process. Makes sure a caller cannot |
// take ownership of the subresource filter unless an activation IPC is sent |