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

Issue 11419307: Garbage Collect the Storage directory on next profile start after an extension uninstall. (Closed)

Created:
8 years ago by awong
Modified:
8 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, jam, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Garbage Collect the Storage directory on next profile start after an extension uninstall. BUG=85127 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172278

Patch Set 1 #

Patch Set 2 : Basic code done. #

Total comments: 19

Patch Set 3 : changing what we delay. #

Patch Set 4 : Weeeeeee....GetSite. bleck. #

Patch Set 5 : rebase correctly. double bleck. #

Patch Set 6 : small fixes. #

Total comments: 6

Patch Set 7 : Address mpcomplete's comments #

Total comments: 23

Patch Set 8 : address Charlie's comments #

Patch Set 9 : merged #

Total comments: 12

Patch Set 10 : done done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+408 lines, -160 lines) Patch
M chrome/browser/extensions/data_deleter.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/data_deleter.cc View 1 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 6 8 9 10 chunks +35 lines, -18 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 7 8 6 chunks +31 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 18 chunks +103 lines, -39 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/installed_loader.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 3 4 5 1 chunk +13 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/site_instance_impl.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/site_instance_impl.cc View 1 2 3 2 chunks +31 lines, -31 lines 0 comments Download
M content/browser/storage_partition_impl_map.h View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 2 3 4 5 6 7 10 chunks +112 lines, -15 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M content/public/browser/site_instance.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
awong
Hey Charlie, Matt, There are still some nits in this CL (called out in 2-3 ...
8 years ago (2012-12-05 01:01:23 UTC) #1
Charlie Reis
I should probably do a closer look later, but it seems reasonable to me at ...
8 years ago (2012-12-05 02:25:40 UTC) #2
Matt Perry
https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc#newcode2315 chrome/browser/extensions/extension_service.cc:2315: pending_extension_installs_.push_back( Can you explain why reusing the FinishDelayedInstallation bits ...
8 years ago (2012-12-05 19:55:33 UTC) #3
awong
https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc#newcode2315 chrome/browser/extensions/extension_service.cc:2315: pending_extension_installs_.push_back( On 2012/12/05 19:55:33, Matt Perry wrote: > Can ...
8 years ago (2012-12-05 21:01:57 UTC) #4
Matt Perry
https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_service.cc#newcode2315 chrome/browser/extensions/extension_service.cc:2315: pending_extension_installs_.push_back( On 2012/12/05 21:01:57, awong wrote: > On 2012/12/05 ...
8 years ago (2012-12-05 21:22:08 UTC) #5
awong
I think this is ready for a real review now. PTAL https://codereview.chromium.org/11419307/diff/1001/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): ...
8 years ago (2012-12-08 01:45:23 UTC) #6
Matt Perry
Thanks for taking the time to untangle everything and do this the right way. It ...
8 years ago (2012-12-08 01:55:33 UTC) #7
awong
Comments addressed...causing a moderate amount of rename churn. :P https://codereview.chromium.org/11419307/diff/19017/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/11419307/diff/19017/chrome/browser/extensions/extension_service.cc#newcode2498 chrome/browser/extensions/extension_service.cc:2498: ...
8 years ago (2012-12-08 02:11:09 UTC) #8
Matt Perry
lgtm
8 years ago (2012-12-10 18:33:27 UTC) #9
Charlie Reis
Looks pretty good. Just a few nits and minor questions below. https://codereview.chromium.org/11419307/diff/14013/chrome/browser/extensions/extension_prefs.h File chrome/browser/extensions/extension_prefs.h (right): ...
8 years ago (2012-12-10 23:22:28 UTC) #10
awong
comments addressed. PTAL https://codereview.chromium.org/11419307/diff/14013/chrome/browser/extensions/extension_prefs.h File chrome/browser/extensions/extension_prefs.h (right): https://codereview.chromium.org/11419307/diff/14013/chrome/browser/extensions/extension_prefs.h#newcode391 chrome/browser/extensions/extension_prefs.h:391: // Removes any idle install information ...
8 years ago (2012-12-11 01:18:31 UTC) #11
Charlie Reis
Thanks for the extra FS checks! LGTM with nits. https://codereview.chromium.org/11419307/diff/39002/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://codereview.chromium.org/11419307/diff/39002/chrome/browser/extensions/extension_prefs.cc#newcode128 chrome/browser/extensions/extension_prefs.cc:128: ...
8 years ago (2012-12-11 02:15:56 UTC) #12
awong
comments addressed. CQing. https://codereview.chromium.org/11419307/diff/39002/chrome/browser/extensions/extension_prefs.cc File chrome/browser/extensions/extension_prefs.cc (right): https://codereview.chromium.org/11419307/diff/39002/chrome/browser/extensions/extension_prefs.cc#newcode128 chrome/browser/extensions/extension_prefs.cc:128: const char kPrefSuggestedPageOrdinal[] = "suggested_page_ordinal"; On ...
8 years ago (2012-12-11 03:34:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/11419307/38004
8 years ago (2012-12-11 03:36:00 UTC) #14
commit-bot: I haz the power
8 years ago (2012-12-11 09:33:45 UTC) #15
Message was sent while issue was closed.
Change committed as 172278

Powered by Google App Engine
This is Rietveld 408576698