| Index: extensions/browser/info_map.h
|
| diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
|
| index d68933fb7d2e484642bf45dd6730233fc1249ea9..407982c5333546da8941af64fe3db54869020ddf 100644
|
| --- a/extensions/browser/info_map.h
|
| +++ b/extensions/browser/info_map.h
|
| @@ -35,7 +35,8 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
|
| // Callback for when new extensions are loaded.
|
| void AddExtension(const extensions::Extension* extension,
|
| base::Time install_time,
|
| - bool incognito_enabled);
|
| + bool incognito_enabled,
|
| + bool notifications_disabled);
|
|
|
| // Callback for when an extension is unloaded.
|
| void RemoveExtension(const std::string& extension_id,
|
| @@ -85,6 +86,12 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
|
| void SetSigninProcess(int process_id);
|
| bool IsSigninProcess(int process_id) const;
|
|
|
| + // Notifications can be enabled/disabled in real time by the user.
|
| + void SetNotificationsDisabled(const std::string& extension_id,
|
| + bool notifications_disabled);
|
| + bool AreNotificationsDisabled(const std::string& extension_id)
|
| + const;
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<InfoMap>;
|
|
|
|
|