Chromium Code Reviews| Index: chrome/browser/content_settings/permission_context_base.h |
| diff --git a/chrome/browser/content_settings/permission_context_base.h b/chrome/browser/content_settings/permission_context_base.h |
| index 48fcac8ce7bca3fa842952276d509c09560959ab..401ab1f428114887ed4abc2fb6a6276f81da23db 100644 |
| --- a/chrome/browser/content_settings/permission_context_base.h |
| +++ b/chrome/browser/content_settings/permission_context_base.h |
| @@ -10,6 +10,7 @@ |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/weak_ptr.h" |
| #include "chrome/browser/ui/website_settings/permission_bubble_request.h" |
| +#include "components/content_settings/core/common/content_settings.h" |
| #include "components/content_settings/core/common/content_settings_types.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| #include "url/gurl.h" |
| @@ -63,6 +64,10 @@ class PermissionContextBase : public KeyedService { |
| bool user_gesture, |
| const BrowserPermissionCallback& callback); |
| + // Returns whether the permission has been granted, denied... |
| + virtual ContentSetting PermissionStatus(const GURL& requesting_origin, |
|
palmer
2014/10/29 20:45:25
Gloriously minor nit: choose 1 of -ing, -[oe]r. I'
Miguel Garcia
2014/10/30 12:27:15
Done. I took the chance and made the method const
|
| + const GURL& embedder_origin); |
| + |
| // Withdraw an existing permission request, no op if the permission request |
| // was already cancelled by some other means. |
| virtual void CancelPermissionRequest(content::WebContents* web_contents, |