diff options
| author | dennisjeffrey@google.com <dennisjeffrey@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 18:18:33 +0000 |
|---|---|---|
| committer | dennisjeffrey@google.com <dennisjeffrey@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 18:18:33 +0000 |
| commit | d6ebc979be84b86e0736e3463a89c7cf6ae4a1cd (patch) | |
| tree | 7332b67ff4ce897c56e564f464f4de78b40b7913 /content | |
| parent | 75895ca88b16d4d80f5cdbb3132bbe9682601aa7 (diff) | |
| download | chromium_src-d6ebc979be84b86e0736e3463a89c7cf6ae4a1cd.zip chromium_src-d6ebc979be84b86e0736e3463a89c7cf6ae4a1cd.tar.gz chromium_src-d6ebc979be84b86e0736e3463a89c7cf6ae4a1cd.tar.bz2 | |
New notification sent when extension uninstall is not allowed.
In the event that an extension uninstall is skipped (not allowed)
because that extension is not user-manageable, a new notification is
sent. The automation hook UninstallExtensionById is revised to handle
this case, and a new PyAuto test is written to exercise this new
functionality (the test attempts to uninstall the WebStore and verifies that
this extension cannot be uninstalled).
BUG=76598
TEST=None.
Review URL: http://codereview.chromium.org/6794040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
| -rw-r--r-- | content/common/notification_type.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/common/notification_type.h b/content/common/notification_type.h index e834e1d..f607640 100644 --- a/content/common/notification_type.h +++ b/content/common/notification_type.h @@ -888,6 +888,11 @@ class NotificationType { // an UninstalledExtensionInfo struct and the source is a Profile. EXTENSION_UNINSTALLED, + // Sent when an extension uninstall is not allowed because the extension is + // not user manageable. The details are an Extension, and the source is a + // Profile. + EXTENSION_UNINSTALL_NOT_ALLOWED, + // Sent when an extension is unloaded. This happens when an extension is // uninstalled or disabled. The details are an UnloadedExtensionInfo, and // the source is a Profile. |
