| Index: chrome/browser/permissions/permission_context_base.h
|
| diff --git a/chrome/browser/permissions/permission_context_base.h b/chrome/browser/permissions/permission_context_base.h
|
| index 0863bde15e1a9642ccf91163ae4cb94e10708d18..066f7a5a8409c80f3b680eca98c619af20cc6e4b 100644
|
| --- a/chrome/browser/permissions/permission_context_base.h
|
| +++ b/chrome/browser/permissions/permission_context_base.h
|
| @@ -90,6 +90,14 @@ class PermissionContextBase : public KeyedService {
|
| const GURL& requesting_origin,
|
| const GURL& embedding_origin) const;
|
|
|
| + // Update |result| with any modifications based on the device state. For
|
| + // example, if |result| is ALLOW but Chrome does not have the relevant
|
| + // permission at the device level, but will prompt the user, return ASK.
|
| + virtual PermissionResult UpdatePermissionStatusWithDeviceStatus(
|
| + PermissionResult result,
|
| + const GURL& requesting_origin,
|
| + const GURL& embedding_origin) const;
|
| +
|
| // Resets the permission to its default value.
|
| virtual void ResetPermission(const GURL& requesting_origin,
|
| const GURL& embedding_origin);
|
|
|