Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6170)

Unified Diff: chrome/common/notification_type.h

Issue 341050: Implement loading blacklists from extensions.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: use real extension Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/data/extensions/common/privacy_blacklist/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/notification_type.h
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 5da2c6ec29dc7fdf9d34a92a678aebc13f2f84a6..1ea5923c75360bfa3cf862d500efbd36d63f55e6 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -632,26 +632,30 @@ class NotificationType {
// Sent when the known installed extensions have all been loaded. In
// testing scenarios this can happen multiple times if extensions are
- // unloaded and reloaded.
+ // unloaded and reloaded. The source is a Profile.
EXTENSIONS_READY,
- // Sent when a new extension is loaded. The details are an Extension.
+ // Sent when a new extension is loaded. The details are an Extension, and
+ // the source is a Profile.
EXTENSION_LOADED,
// Sent when attempting to load a new extension, but they are disabled. The
- // details are an Extension*.
+ // details are an Extension*, and the source is a Profile*.
EXTENSION_UPDATE_DISABLED,
// Sent when a theme is ready to be installed, so we can alert the user.
EXTENSION_READY_FOR_INSTALL,
- // Sent on ExtensionOverinstallAttempted when no theme is detected.
+ // Sent on ExtensionOverinstallAttempted when no theme is detected. The
+ // source is a Profile.
NO_THEME_DETECTED,
- // Sent when a new theme is installed. The details are an Extension.
+ // Sent when a new theme is installed. The details are an Extension, and the
+ // source is a Profile.
THEME_INSTALLED,
- // Sent when new extensions are installed. The details are an Extension.
+ // Sent when new extensions are installed. The details are an Extension, and
+ // the source is a Profile.
EXTENSION_INSTALLED,
// An error occured during extension install. The details are a string with
@@ -664,9 +668,10 @@ class NotificationType {
// Sent when an extension is unloaded. This happens when an extension is
// uninstalled. When we add a disable feature, it will also happen then.
- // The details are an Extension. Note that when this notification is sent,
- // ExtensionsService has already removed the extension from its internal
- // state.
+ // The details are an Extension, and the source is a Profile.
+ //
+ // Note that when this notification is sent, ExtensionsService has already
+ // removed the extension from its internal state.
EXTENSION_UNLOADED,
// Same as above, but for a disabled extension.
@@ -694,7 +699,7 @@ class NotificationType {
EXTENSION_PROCESS_CREATED,
// Sent when extension render process crashes. The details are
- // an ExtensionHost* and the source is an ExtensionsService*.
+ // an ExtensionHost* and the source is a Profile*.
EXTENSION_PROCESS_CRASHED,
// Sent when the contents or order of toolstrips in the shelf model change.
@@ -727,11 +732,6 @@ class NotificationType {
// Privacy Blacklist -------------------------------------------------------
- // Sent when a privacy blacklist path provider changes the list of its
- // blacklist paths (like adds/removes items). The details are
- // a BlacklistPathProvider, and the source is a Profile.
- BLACKLIST_PATH_PROVIDER_UPDATED,
-
// Sent when the blacklist manager successfully finishes reading
// a blacklist. The details are a Blacklist, and the source is a Profile.
BLACKLIST_MANAGER_BLACKLIST_READ_FINISHED,
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/data/extensions/common/privacy_blacklist/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698