| 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 1db872b39c4e903aa901e2839f0d7660dc15da13..bb5c68a96114631f8536d5ef36eb7fa137238084 100644
|
| --- a/chrome/browser/content_settings/permission_context_base.h
|
| +++ b/chrome/browser/content_settings/permission_context_base.h
|
| @@ -98,11 +98,14 @@ class PermissionContextBase : public KeyedService {
|
| // Return an instance of the infobar queue controller, creating it if needed.
|
| PermissionQueueController* GetQueueController();
|
|
|
| + // Store the decided permission as a content setting.
|
| + // virtual since the permission might be stored with different restrictions
|
| + // (for example for desktop notifications).
|
| + virtual void UpdateContentSetting(const GURL& requesting_origin,
|
| + const GURL& embedder_origin,
|
| + bool allowed);
|
| +
|
| private:
|
| - void UpdateContentSetting(
|
| - const GURL& requesting_origin,
|
| - const GURL& embedder_origin,
|
| - bool allowed);
|
|
|
| // Called when a bubble is no longer used so it can be cleaned up.
|
| void CleanUpBubble(const PermissionRequestID& id);
|
|
|