Chromium Code Reviews| 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..4154afda81cafa75820fbb6eaac1d7901e05c5bd 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. |
|
shreyasv1
2015/12/29 16:44:07
NIT: |browser_state|.
sdefresne
2015/12/29 16:58:06
Done.
|
| + // 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 |