Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 11189094: Implement sideload wipeout for Extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
===================================================================
--- chrome/browser/extensions/extension_service.h (revision 162977)
+++ chrome/browser/extensions/extension_service.h (working copy)
@@ -205,10 +205,14 @@
virtual const ExtensionSet* disabled_extensions() const OVERRIDE;
const ExtensionSet* terminated_extensions() const;
- // Retuns a set of all installed, disabled, and terminated extensions and
+ // Returns a set of all installed, disabled, and terminated extensions and
// transfers ownership to caller.
const ExtensionSet* GenerateInstalledExtensionsSet() const;
+ // Returns a set of all extensions disabled by the sideload wipeout
+ // initiative.
+ const ExtensionSet* GetWipedOutExtensions() const;
+
// Gets the object managing the set of pending extensions.
virtual extensions::PendingExtensionManager*
pending_extension_manager() OVERRIDE;
@@ -420,6 +424,10 @@
// extension if the privilege level has increased (e.g., due to an upgrade).
void InitializePermissions(const extensions::Extension* extension);
+ // Check to see if this extension needs to be disabled, as per the sideload
+ // wipeout initiative.
+ void MaybeWipeout(const extensions::Extension* extension);
+
// Go through each extensions in pref, unload blacklisted extensions
// and update the blacklist state in pref.
virtual void UpdateExtensionBlacklist(
« no previous file with comments | « chrome/browser/extensions/extension_prefs.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698