diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 16:11:27 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 16:11:27 +0000 |
commit | a307e31e82d2b9006802d4381dc5f3da2b993a8d (patch) | |
tree | e46d5b0b6ea59aa1fb7d47f917bc837b37dd88b8 /chrome/browser/extensions/extensions_service.cc | |
parent | 48a74f65c7775737ccee06a34eb5f73a5172172f (diff) | |
download | chromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.zip chromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.tar.gz chromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.tar.bz2 |
Integrate BlacklistManager with Profile.
Now each Profile has a BlacklistManager that maintains a compiled Blacklist for that Profile.
The system does not yet pause user-initiated web requests until the blacklist system is ready. However, the code is not supposed to be ready, and is hidden behind a --enable-privacy-blacklists command-line flag.
TEST=Covered by browser_test.
BUG=21541
Review URL: http://codereview.chromium.org/371063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33290 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.cc')
-rw-r--r-- | chrome/browser/extensions/extensions_service.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc index b185150..2772660 100644 --- a/chrome/browser/extensions/extensions_service.cc +++ b/chrome/browser/extensions/extensions_service.cc @@ -750,6 +750,10 @@ void ExtensionsService::ReportExtensionLoadError( ExtensionErrorReporter::GetInstance()->ReportError(message, be_noisy); } +bool ExtensionsService::AreBlacklistPathsReady() const { + return ready_; +} + std::vector<FilePath> ExtensionsService::GetPersistentBlacklistPaths() { DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); |