Index: ios/web/public/browser_state.h |
diff --git a/ios/web/public/browser_state.h b/ios/web/public/browser_state.h |
index b4f2aded9754f0502e3cb795de46c7e2f5425fd5..44facddd093ddb9ece2b3e5ccb7b94a3017b987e 100644 |
--- a/ios/web/public/browser_state.h |
+++ b/ios/web/public/browser_state.h |
@@ -16,6 +16,7 @@ class URLRequestContextGetter; |
} |
namespace web { |
+class CertificatePolicyCache; |
// This class holds the context needed for a browsing session. |
// It lives on the UI thread. All these methods must only be called on the UI |
@@ -24,6 +25,10 @@ class BrowserState : public base::SupportsUserData { |
public: |
~BrowserState() override; |
+ // static |
+ static scoped_refptr<CertificatePolicyCache> GetCertificatePolicyCache( |
+ BrowserState* browser_state); |
+ |
// Returns whether this BrowserState is incognito. Default is false. |
virtual bool IsOffTheRecord() const = 0; |