summaryrefslogtreecommitdiffstats
path: root/ios/web/public/browser_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'ios/web/public/browser_state.h')
-rw-r--r--ios/web/public/browser_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ios/web/public/browser_state.h b/ios/web/public/browser_state.h
index b4f2ade..44facdd 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;