| Index: chrome/browser/extensions/extensions_service.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extensions_service.h (revision 56844)
|
| +++ chrome/browser/extensions/extensions_service.h (working copy)
|
| @@ -88,6 +88,7 @@
|
| bool include_disabled) = 0;
|
| virtual void UpdateExtensionBlacklist(
|
| const std::vector<std::string>& blacklist) = 0;
|
| + virtual void CheckAdminBlacklist() = 0;
|
| virtual bool HasInstalledExtensions() = 0;
|
|
|
| virtual ExtensionPrefs* extension_prefs() = 0;
|
| @@ -320,6 +321,11 @@
|
| virtual void UpdateExtensionBlacklist(
|
| const std::vector<std::string>& blacklist);
|
|
|
| + // Go through each extension and unload those that the network admin has
|
| + // put on the blacklist (not to be confused with the Google managed blacklist
|
| + // set of extensions.
|
| + virtual void CheckAdminBlacklist();
|
| +
|
| void set_extensions_enabled(bool enabled) { extensions_enabled_ = enabled; }
|
| bool extensions_enabled() { return extensions_enabled_; }
|
|
|
| @@ -333,8 +339,9 @@
|
|
|
| Profile* profile() { return profile_; }
|
|
|
| - // Profile calls this when it is destroyed so that we know not to call it.
|
| - void ProfileDestroyed() { profile_ = NULL; }
|
| + // Profile calls this when it is being destroyed so that we know not to call
|
| + // it.
|
| + void DestroyingProfile();
|
|
|
| ExtensionPrefs* extension_prefs() { return extension_prefs_.get(); }
|
|
|
|
|