| Index: chrome/browser/chrome_content_browser_client.h
|
| diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
|
| index 884ae0d3176e7cba4486f66aae173f5ee7b88a5e..0f3c123a68c7f8fb1711743ad438d67546e47e23 100644
|
| --- a/chrome/browser/chrome_content_browser_client.h
|
| +++ b/chrome/browser/chrome_content_browser_client.h
|
| @@ -18,6 +18,8 @@
|
| #include "content/public/browser/content_browser_client.h"
|
|
|
| class ChromeContentBrowserClientParts;
|
| +class PermissionContextBase;
|
| +class Profile;
|
|
|
| namespace base {
|
| class CommandLine;
|
| @@ -194,6 +196,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
|
| content::BrowserContext* browser_context,
|
| const GURL& requesting_origin,
|
| const GURL& embedding_origin) override;
|
| + content::PermissionStatus RevokePermission(
|
| + content::PermissionType permission,
|
| + content::BrowserContext* browser_context,
|
| + const GURL& requesting_origin,
|
| + const GURL& embedding_origin) override;
|
| void CancelPermissionRequest(content::PermissionType permission,
|
| content::WebContents* web_contents,
|
| int bridge_id,
|
| @@ -290,6 +297,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
|
| base::Callback<void(bool)> callback,
|
| bool allow);
|
|
|
| + // Returns
|
| + PermissionContextBase* GetPermissionContextFromProfile(
|
| + Profile* profile,
|
| + content::PermissionType permission);
|
| +
|
| #if defined(ENABLE_EXTENSIONS)
|
| void GuestPermissionRequestHelper(
|
| const GURL& url,
|
|
|