Index: chrome/browser/extensions/extensions_service.h |
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h |
index 6d525d7183606b0f42e6db7f8fc5ce1f5adfdf36..55e336d4eaa0e177208780c080b2fde89d5015df 100644 |
--- a/chrome/browser/extensions/extensions_service.h |
+++ b/chrome/browser/extensions/extensions_service.h |
@@ -21,6 +21,7 @@ |
#include "chrome/browser/extensions/extension_process_manager.h" |
#include "chrome/browser/extensions/external_extension_provider.h" |
#include "chrome/browser/extensions/sandboxed_extension_unpacker.h" |
+#include "chrome/browser/privacy_blacklist/blacklist_manager.h" |
#include "chrome/common/extensions/extension.h" |
class Browser; |
@@ -51,6 +52,7 @@ class ExtensionUpdateService { |
// Manages installed and running Chromium extensions. |
class ExtensionsService |
: public ExtensionUpdateService, |
+ public BlacklistPathProvider, |
public base::RefCountedThreadSafe<ExtensionsService> { |
public: |
@@ -201,6 +203,8 @@ class ExtensionsService |
return show_extensions_prompts_; |
} |
+ Profile* profile() { return profile_; } |
+ |
// Profile calls this when it is destroyed so that we know not to call it. |
void ProfileDestroyed() { profile_ = NULL; } |
@@ -219,6 +223,10 @@ class ExtensionsService |
NotificationType type, |
bool be_noisy); |
+ // BlacklistPathProvider: |
+ virtual std::vector<FilePath> GetPersistentBlacklistPaths(); |
+ virtual std::vector<FilePath> GetTransientBlacklistPaths(); |
+ |
private: |
// Look up an extension by ID, optionally including either or both of enabled |
// and disabled extensions. |