| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 17a88b78514eb1ac498b318bf8917bedea0a89b2..1bcc8d8d918a7445be4d56f54835c4093b45c756 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -19,6 +19,7 @@
|
| #include "content/public/browser/permission_type.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/media_stream_request.h"
|
| +#include "content/public/common/permission_status.mojom.h"
|
| #include "content/public/common/resource_type.h"
|
| #include "content/public/common/socket_permission_request.h"
|
| #include "content/public/common/window_container_type.h"
|
| @@ -438,6 +439,12 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| const GURL& frame_url,
|
| const GURL& main_frame_url) {}
|
|
|
| + virtual PermissionStatus GetPermissionStatus(
|
| + PermissionType permission,
|
| + BrowserContext* browser_context,
|
| + const GURL& requesting_origin,
|
| + const GURL& embedding_origin);
|
| +
|
| // Returns true if the given page is allowed to open a window of the given
|
| // type. If true is returned, |no_javascript_access| will indicate whether
|
| // the window that is created should be scriptable/in the same process.
|
|
|