diff options
| author | karen@chromium.org <karen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 20:57:34 +0000 |
|---|---|---|
| committer | karen@chromium.org <karen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 20:57:34 +0000 |
| commit | 024d6d54ea0b5463d6e10fc0ac99399e7a8c8ac0 (patch) | |
| tree | f10e906efe85b392c1d67d3e03775781e6e8491d /chrome/test | |
| parent | d9d1648787d716abbee1db7b2ce24ebc3fc6e970 (diff) | |
| download | chromium_src-024d6d54ea0b5463d6e10fc0ac99399e7a8c8ac0.zip chromium_src-024d6d54ea0b5463d6e10fc0ac99399e7a8c8ac0.tar.gz chromium_src-024d6d54ea0b5463d6e10fc0ac99399e7a8c8ac0.tar.bz2 | |
Revert 142427 - Cleaning Up Extensions When Local Content Removed
This fixes an issue where removing an extension's local content, e.g. deleting
the user-data-dir/Default/Extensions/<id> directory, would result in a broken
extension. Chrome will now uninstall/remove any extensions where the path to
the extension cannot be resolved.
BUG=31910
TEST=ExtensionServiceTest.CleanupInternalExtensionsMissingLocalContent;
ExtensionServiceTest.CleanupUnpackedExtensionsMissingLocalContent;
test by hand by loading an extension, deleting the local directory, and
restarting chrome
Review URL: https://chromiumcodereview.appspot.com/10541126
TBR=rdevlin.cronin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10579028
git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@143047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
3 files changed, 0 insertions, 32 deletions
diff --git a/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.0_0/manifest.json b/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.0_0/manifest.json deleted file mode 100644 index e69d36b..0000000 --- a/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.0_0/manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "description": "An extension to test garbage collection of old versions.", - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3Yox7PDjjZl7upms+MLnOuswzlX63YH5jVvzug1WoAHVnq/djfHsViG0WgTrxxPiMhuTNqOh2OzdqHRko+xbkBBgpSjV+X1lIvUgZGOx9ImH2pz4kntyRv1z9abuN+rQh+gjglPvLJQuWU6VvjH0zypTaXZiQ4GCojRqD/dWacQIDAQAB", - "name": "GarbageCollectOldVersions Extension", - "version": "1.0" -} diff --git a/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.1_0/manifest.json b/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.1_0/manifest.json deleted file mode 100644 index 20a4b3b..0000000 --- a/chrome/test/data/extensions/garbage_collection/Extensions/fdoajpacpdeapbmhbblepcnilfkpmkff/1.1_0/manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "description": "An extension to test garbage collection of old versions.", - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3Yox7PDjjZl7upms+MLnOuswzlX63YH5jVvzug1WoAHVnq/djfHsViG0WgTrxxPiMhuTNqOh2OzdqHRko+xbkBBgpSjV+X1lIvUgZGOx9ImH2pz4kntyRv1z9abuN+rQh+gjglPvLJQuWU6VvjH0zypTaXZiQ4GCojRqD/dWacQIDAQAB", - "name": "GarbageCollectOldVersions Extension", - "version": "1.1" -} diff --git a/chrome/test/data/extensions/garbage_collection/Preferences b/chrome/test/data/extensions/garbage_collection/Preferences deleted file mode 100644 index 92e3b6e..0000000 --- a/chrome/test/data/extensions/garbage_collection/Preferences +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extensions": { - "settings": { - "fdoajpacpdeapbmhbblepcnilfkpmkff": { - "from_bookmark": false, - "from_webstore": false, - "install_time": "12977681506510306", - "location": 1, - "manifest": { - "description": "An extension to test garbage collection of old versions.", - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3Yox7PDjjZl7upms+MLnOuswzlX63YH5jVvzug1WoAHVnq/djfHsViG0WgTrxxPiMhuTNqOh2OzdqHRko+xbkBBgpSjV+X1lIvUgZGOx9ImH2pz4kntyRv1z9abuN+rQh+gjglPvLJQuWU6VvjH0zypTaXZiQ4GCojRqD/dWacQIDAQAB", - "name": "GarbageCollectOldVersions Extension", - "version": "1.1" - }, - "path": "fdoajpacpdeapbmhbblepcnilfkpmkff/1.1_0", - "state": 1 - } - } - } -} |
