summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 17:32:48 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 17:32:48 +0000
commit42b8c0b39acc727cf56fe6e77dc9d62b6e15e25f (patch)
tree810a9138222085dba47c0c1a08668db4d5adcb78 /chrome/common
parent44b78f90aa7fb40d6694045f4da76c502dea2272 (diff)
downloadchromium_src-42b8c0b39acc727cf56fe6e77dc9d62b6e15e25f.zip
chromium_src-42b8c0b39acc727cf56fe6e77dc9d62b6e15e25f.tar.gz
chromium_src-42b8c0b39acc727cf56fe6e77dc9d62b6e15e25f.tar.bz2
Create BlacklistManager, which will aggregate individual blacklists into one compiled one
and maintain it. This is the first step towards shipping privacy blacklists in extensions. The next step will be to make Profile own a BlacklistManager, and make ExtensionsService a BlacklistPathsProvider. TEST=Covered by unit_tests. BUG=21541 Review URL: http://codereview.chromium.org/164535 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_constants.cc1
-rw-r--r--chrome/common/chrome_constants.h1
-rw-r--r--chrome/common/notification_type.h7
3 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc
index 4614319..cd21474 100644
--- a/chrome/common/chrome_constants.cc
+++ b/chrome/common/chrome_constants.cc
@@ -92,6 +92,7 @@ const FilePath::CharType kNewTabThumbnailsFilename[] = FPL("Top Thumbnails");
const wchar_t kUserDataDirname[] = L"User Data";
const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts");
const FilePath::CharType kWebDataFilename[] = FPL("Web Data");
+const FilePath::CharType kPrivacyBlacklistFileName[] = FPL("Privacy Blacklist");
const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks");
const FilePath::CharType kHistoryBookmarksFileName[] =
FPL("Bookmarks From History");
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h
index cb7e1e7..12da2f6 100644
--- a/chrome/common/chrome_constants.h
+++ b/chrome/common/chrome_constants.h
@@ -52,6 +52,7 @@ extern const wchar_t kUserDataDirname[];
extern const FilePath::CharType kUserScriptsDirname[];
extern const FilePath::CharType kWebDataFilename[];
extern const FilePath::CharType kBookmarksFileName[];
+extern const FilePath::CharType kPrivacyBlacklistFileName[];
extern const FilePath::CharType kHistoryBookmarksFileName[];
extern const FilePath::CharType kCustomDictionaryFileName[];
extern const FilePath::CharType kLoginDataFileName[];
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 7376fb7..2768c8e 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -617,6 +617,13 @@ class NotificationType {
PERSONALIZATION,
PERSONALIZATION_CREATED,
+ // Privacy blacklists ------------------------------------------------------
+
+ // 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,
+
// User Scripts ------------------------------------------------------------
// Sent when there are new user scripts available. The details are a