Index: ios/web/public/browser_state.h |
diff --git a/ios/web/public/browser_state.h b/ios/web/public/browser_state.h |
index 97f3da10a73c82d68e0f1bfbefe9616ed1834621..b62483f15b182f763d4117b46f944ed6eff3eb58 100644 |
--- a/ios/web/public/browser_state.h |
+++ b/ios/web/public/browser_state.h |
@@ -34,6 +34,10 @@ class BrowserState : public base::SupportsUserData { |
static scoped_refptr<CertificatePolicyCache> GetCertificatePolicyCache( |
BrowserState* browser_state); |
+ // Returns whether |browser_state| has an associated ActiveStateManager. |
+ // Must only be accessed from main thread. |
+ static bool HasActiveStateManager(BrowserState* browser_state); |
+ |
// Returns the ActiveStateManager associated with |browser_state.| |
// Lazily creates one if an ActiveStateManager is not already associated with |
// the |browser_state|. |browser_state| cannot be a nullptr. Must be accessed |