Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index 5a0524ab0810e0031a8881996de33ccdde9b5105..c15afefc81a7f91e864ffd94164d41881011c2c6 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -39,6 +39,7 @@ class BrowserPluginGuestManager; |
class DownloadManager; |
class DownloadManagerDelegate; |
class IndexedDBContext; |
+class PermissionManager; |
class PushMessagingService; |
class ResourceContext; |
class SiteInstance; |
@@ -181,6 +182,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
// Returns the SSL host state decisions for this context. The context may |
// return nullptr, implementing the default exception storage strategy. |
virtual SSLHostStateDelegate* GetSSLHostStateDelegate() = 0; |
+ |
+ // Returns the PermissionManager associated with that context if any, nullptr |
+ // otherwise. |
+ virtual PermissionManager* GetPermissionManager() = 0; |
}; |
} // namespace content |