Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: ios/web/public/browser_state.h

Issue 1043243003: Upstream most of ios/web/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698