summaryrefslogtreecommitdiffstats
path: root/extensions/browser/warning_service.h
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2015-05-19 15:23:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-19 22:23:25 +0000
commit7dd0529036b94a81b1812ea7f98afec89528975b (patch)
tree61f1e934de2d01667f66f7dc2d53eb09f641b059 /extensions/browser/warning_service.h
parent14769fd8e3bd31bd5f5f59e6d0feb7eaefd51e34 (diff)
downloadchromium_src-7dd0529036b94a81b1812ea7f98afec89528975b.zip
chromium_src-7dd0529036b94a81b1812ea7f98afec89528975b.tar.gz
chromium_src-7dd0529036b94a81b1812ea7f98afec89528975b.tar.bz2
[Extensions] Move remaining notifications out of ExtensionSettingsHandler
Move the remaining notifications from ExtensionSettingsHandler to the DeveloperPrivate API. Also adjust the WarningService observer method to include a set of modified extensions. BUG=461039 Review URL: https://codereview.chromium.org/1146693004 Cr-Commit-Position: refs/heads/master@{#330633}
Diffstat (limited to 'extensions/browser/warning_service.h')
-rw-r--r--extensions/browser/warning_service.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/browser/warning_service.h b/extensions/browser/warning_service.h
index 5aa9a50..655c445 100644
--- a/extensions/browser/warning_service.h
+++ b/extensions/browser/warning_service.h
@@ -38,7 +38,8 @@ class WarningService : public KeyedService,
public:
class Observer {
public:
- virtual void ExtensionWarningsChanged() = 0;
+ virtual void ExtensionWarningsChanged(
+ const ExtensionIdSet& affected_extensions) = 0;
};
// |browser_context| may be NULL for testing. In this case, be sure to not
@@ -75,7 +76,7 @@ class WarningService : public KeyedService,
void RemoveObserver(Observer* observer);
private:
- void NotifyWarningsChanged();
+ void NotifyWarningsChanged(const ExtensionIdSet& affected_extensions);
// ExtensionRegistryObserver implementation.
void OnExtensionUnloaded(content::BrowserContext* browser_context,