diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 09:40:10 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 09:40:10 +0000 |
commit | 588074f9272367dff91fa584a68b69e5ed200fbb (patch) | |
tree | e231402fae065b2d600ebbb8a14d510210515e7e /chrome/common | |
parent | f810a16eb5d1d1d186951234adc52aec99797e05 (diff) | |
download | chromium_src-588074f9272367dff91fa584a68b69e5ed200fbb.zip chromium_src-588074f9272367dff91fa584a68b69e5ed200fbb.tar.gz chromium_src-588074f9272367dff91fa584a68b69e5ed200fbb.tar.bz2 |
Design changes in browser/privacy_blacklist needed to integrate
privacy blacklists with extensions.
- change I/O routines interface to be more clear
- distinguish between transient and permanent blacklists
- remove obsolete code (pbl_tool and blacklist error dialog)
BlacklistManager will be responsible for recompiling the persistent
blacklists. Errors will be reported via infobars.
TEST=Covered by unit_tests.
BUG=21541
Review URL: http://codereview.chromium.org/337025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_type.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 739a007..b071ea43 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -612,12 +612,10 @@ class NotificationType { // are all source and no details. SESSION_END, - // Privacy blacklists ------------------------------------------------------ + // Personalization --------------------------------------------------------- - // 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. - PRIVACY_BLACKLIST_PATH_PROVIDER_UPDATED, + PERSONALIZATION, + PERSONALIZATION_CREATED, // User Scripts ------------------------------------------------------------ @@ -716,6 +714,19 @@ 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, + + // Sent when the blacklist manager encounters an error. The details are + // a string16 (error message), and the source is a Profile. + BLACKLIST_MANAGER_ERROR, + // Sent by the resource dispatcher host when a resource is blocked. BLACKLIST_BLOCKED_RESOURCE, |