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

Issue 242203002: Don't garbage collect storage for disabled and crashed extensions. (Closed)

Created:
6 years, 8 months ago by Marijn Kruisselbrink
Modified:
6 years, 7 months ago
Reviewers:
awong
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Don't garbage collect storage for disabled and crashed extensions. BUG=328637

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M chrome/browser/extensions/extension_garbage_collector.cc View 1 chunk +4 lines, -4 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Marijn Kruisselbrink
I really don't know this code, but since you're the original author of it maybe ...
6 years, 8 months ago (2014-04-17 23:25:49 UTC) #1
awong
6 years, 8 months ago (2014-04-21 17:54:18 UTC) #2
From a mechanics perspective, it looks sensible to me. However, I really don't
understand the extensions subsystem and the policy that you're targeting.

It looks like this change will avoid deleting the storage for all "installed,
disabled, blacklisted, and terminated extensions."
 
https://code.google.com/p/chromium/codesearch#chromium/src/extensions/browser...

Is that the desired behavior? Who's the right person to sanity check the target
policy for cleanup?

https://codereview.chromium.org/242203002/diff/1/chrome/browser/extensions/ex...
File chrome/browser/extensions/extension_garbage_collector.cc (right):

https://codereview.chromium.org/242203002/diff/1/chrome/browser/extensions/ex...
chrome/browser/extensions/extension_garbage_collector.cc:224:
ExtensionRegistry::Get(context_)->GenerateInstalledExtensionsSet();
Can you update the comment in the .h file to match the new filter criteria?

Powered by Google App Engine
This is Rietveld 408576698