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

Issue 123733003: Get ride of chrome.storage.* data when removing an application. (Closed)

Created:
6 years, 11 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org, benwells
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Get ride of chrome.storage.* data when removing an application. This is only fixing packaged apps, the bug is not affecting hosted apps. BUG=314803 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243887

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Total comments: 13

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -48 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/extensions/data_deleter.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/data_deleter.cc View 1 2 3 4 3 chunks +54 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 3 chunks +1 line, -26 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/reinstall_data_cleanup/manifest.json View 1 2 chunks +5 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/reinstall_data_cleanup/test.js View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mlamouri (slow - plz ping)
6 years, 11 months ago (2014-01-06 17:12:27 UTC) #1
benwells
I'm not a good reviewer for this. Assigning fsamuel who was going to look at ...
6 years, 11 months ago (2014-01-07 00:13:59 UTC) #2
benwells
Actually removing myself this time. Also adding kalman who might be more comfortable reviewing this.
6 years, 11 months ago (2014-01-08 02:27:04 UTC) #3
not at google - send to devlin
https://codereview.chromium.org/123733003/diff/70001/chrome/browser/apps/app_browsertest.cc File chrome/browser/apps/app_browsertest.cc (right): https://codereview.chromium.org/123733003/diff/70001/chrome/browser/apps/app_browsertest.cc#newcode1316 chrome/browser/apps/app_browsertest.cc:1316: ExtensionTestMessageListener launched_listener("Launched", false); perhaps give the first half of ...
6 years, 11 months ago (2014-01-08 02:49:17 UTC) #4
mlamouri (slow - plz ping)
https://codereview.chromium.org/123733003/diff/70001/chrome/browser/apps/app_browsertest.cc File chrome/browser/apps/app_browsertest.cc (right): https://codereview.chromium.org/123733003/diff/70001/chrome/browser/apps/app_browsertest.cc#newcode1316 chrome/browser/apps/app_browsertest.cc:1316: ExtensionTestMessageListener launched_listener("Launched", false); On 2014/01/08 02:49:17, kalman wrote: > ...
6 years, 11 months ago (2014-01-08 17:42:31 UTC) #5
mlamouri (slow - plz ping)
kalman@, PTAL
6 years, 11 months ago (2014-01-08 17:43:50 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/123733003/diff/70001/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): https://codereview.chromium.org/123733003/diff/70001/chrome/browser/extensions/extension_service.cc#newcode2781 chrome/browser/extensions/extension_service.cc:2781: void ExtensionService::OnNeedsToGarbageCollectIsolatedStorage() { On 2014/01/08 17:42:31, Mounir Lamouri wrote: ...
6 years, 11 months ago (2014-01-08 18:01:36 UTC) #7
mlamouri (slow - plz ping)
For the tests, given your comments, I simply used chrome.test.runTests(). This is what you actually ...
6 years, 11 months ago (2014-01-08 23:44:08 UTC) #8
mlamouri (slow - plz ping)
benwells@, I need you to review the app_browsertest.cc changes (at least, I need an official ...
6 years, 11 months ago (2014-01-08 23:48:58 UTC) #9
not at google - send to devlin
On 2014/01/08 23:44:08, Mounir Lamouri wrote: > For the tests, given your comments, I simply ...
6 years, 11 months ago (2014-01-08 23:59:02 UTC) #10
not at google - send to devlin
lgtm with a couple more comments https://codereview.chromium.org/123733003/diff/270001/chrome/browser/apps/app_browsertest.cc File chrome/browser/apps/app_browsertest.cc (right): https://codereview.chromium.org/123733003/diff/270001/chrome/browser/apps/app_browsertest.cc#newcode1325 chrome/browser/apps/app_browsertest.cc:1325: ASSERT_EQ(reloaded_extension->id(), extension_id); On ...
6 years, 11 months ago (2014-01-08 23:59:52 UTC) #11
not at google - send to devlin
On 2014/01/08 23:59:52, kalman wrote: > lgtm with a couple more comments > (and that ...
6 years, 11 months ago (2014-01-09 00:00:06 UTC) #12
mlamouri (slow - plz ping)
On 2014/01/08 23:59:02, kalman wrote: > On 2014/01/08 23:44:08, Mounir Lamouri wrote: > > For ...
6 years, 11 months ago (2014-01-09 00:08:17 UTC) #13
mlamouri (slow - plz ping)
https://codereview.chromium.org/123733003/diff/350001/chrome/browser/extensions/data_deleter.h File chrome/browser/extensions/data_deleter.h (right): https://codereview.chromium.org/123733003/diff/350001/chrome/browser/extensions/data_deleter.h#newcode33 chrome/browser/extensions/data_deleter.h:33: static void DeleteOrigin( On 2014/01/08 23:59:53, kalman wrote: > ...
6 years, 11 months ago (2014-01-09 00:09:29 UTC) #14
benwells
lgtm stamp (kalman you should be an owner in apps)
6 years, 11 months ago (2014-01-09 00:12:46 UTC) #15
not at google - send to devlin
On 2014/01/09 00:08:17, Mounir Lamouri wrote: > On 2014/01/08 23:59:02, kalman wrote: > > On ...
6 years, 11 months ago (2014-01-09 00:24:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/123733003/460001
6 years, 11 months ago (2014-01-09 11:07:31 UTC) #17
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 14:09:41 UTC) #18
Message was sent while issue was closed.
Change committed as 243887

Powered by Google App Engine
This is Rietveld 408576698