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

Issue 213123008: [fsp] Unmount file systems when the providing extension gets unloaded. (Closed)

Created:
6 years, 9 months ago by mtomasz
Modified:
6 years, 8 months ago
Reviewers:
hashimoto
CC:
chromium-reviews, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

[fsp] Unmount file systems when the providing extension gets unloaded. Previously, if the extension got unloaded, provided the file system would still be active, but not responsive. This CL listens for unload events, and removes all of the provided file systems associated with the unloaded extension. TEST=unit_tests:*FileSystemProviderService/UnmountFileSystem_OnExtensionUnload* BUG=248427 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264967

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments. #

Patch Set 3 : Typo. #

Patch Set 4 : Rebased and addressed comments. #

Patch Set 5 : Rebased. #

Patch Set 6 : Rebased. #

Total comments: 2

Patch Set 7 : Fixed. #

Patch Set 8 : Rebased. #

Patch Set 9 : Rebased. #

Patch Set 10 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -15 lines) Patch
M chrome/browser/chromeos/file_manager/volume_manager_unittest.cc View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.h View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.cc View 1 2 3 4 5 6 7 8 9 3 chunks +31 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service_factory.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service_unittest.cc View 1 2 3 4 5 6 7 8 9 6 chunks +65 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
mtomasz
@hashimoto: As discussed offline yesterday. PTAL, thanks! It depends on 210803003 (sorry!)
6 years, 9 months ago (2014-03-27 02:19:05 UTC) #1
hashimoto
looking good. https://codereview.chromium.org/213123008/diff/1/chrome/browser/chromeos/file_system_provider/service.cc File chrome/browser/chromeos/file_system_provider/service.cc (right): https://codereview.chromium.org/213123008/diff/1/chrome/browser/chromeos/file_system_provider/service.cc#newcode247 chrome/browser/chromeos/file_system_provider/service.cc:247: LOG(ERROR) << extension->id() << " vs. " ...
6 years, 9 months ago (2014-03-27 09:18:49 UTC) #2
mtomasz
https://codereview.chromium.org/213123008/diff/1/chrome/browser/chromeos/file_system_provider/service.cc File chrome/browser/chromeos/file_system_provider/service.cc (right): https://codereview.chromium.org/213123008/diff/1/chrome/browser/chromeos/file_system_provider/service.cc#newcode247 chrome/browser/chromeos/file_system_provider/service.cc:247: LOG(ERROR) << extension->id() << " vs. " << file_system_info.extension_id(); ...
6 years, 9 months ago (2014-03-28 06:01:10 UTC) #3
mtomasz
@hashimoto: Done. PTAL.
6 years, 8 months ago (2014-04-09 21:42:08 UTC) #4
hashimoto
lgtm https://codereview.chromium.org/213123008/diff/100001/chrome/browser/chromeos/file_system_provider/service_unittest.cc File chrome/browser/chromeos/file_system_provider/service_unittest.cc (right): https://codereview.chromium.org/213123008/diff/100001/chrome/browser/chromeos/file_system_provider/service_unittest.cc#newcode83 chrome/browser/chromeos/file_system_provider/service_unittest.cc:83: kExtensionId, This should be extension_id?
6 years, 8 months ago (2014-04-18 05:35:15 UTC) #5
mtomasz
https://codereview.chromium.org/213123008/diff/100001/chrome/browser/chromeos/file_system_provider/service_unittest.cc File chrome/browser/chromeos/file_system_provider/service_unittest.cc (right): https://codereview.chromium.org/213123008/diff/100001/chrome/browser/chromeos/file_system_provider/service_unittest.cc#newcode83 chrome/browser/chromeos/file_system_provider/service_unittest.cc:83: kExtensionId, On 2014/04/18 05:35:15, hashimoto wrote: > This should ...
6 years, 8 months ago (2014-04-18 06:01:34 UTC) #6
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-18 06:01:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/120001
6 years, 8 months ago (2014-04-18 06:01:50 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 07:42:29 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 8 months ago (2014-04-18 07:42:29 UTC) #10
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-18 08:42:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/140001
6 years, 8 months ago (2014-04-18 08:42:21 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 10:45:58 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/file_system_provider/service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-18 10:45:58 UTC) #14
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-21 01:24:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/140001
6 years, 8 months ago (2014-04-21 01:24:34 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-21 01:24:39 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/file_system_provider/service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-21 01:24:39 UTC) #18
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-21 01:49:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/160001
6 years, 8 months ago (2014-04-21 01:49:48 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-21 03:20:33 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-21 03:20:33 UTC) #22
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-21 04:30:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/180001
6 years, 8 months ago (2014-04-21 04:30:04 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-21 05:04:52 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_x64_rel
6 years, 8 months ago (2014-04-21 05:04:53 UTC) #26
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 8 months ago (2014-04-21 05:06:04 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtomasz@chromium.org/213123008/180001
6 years, 8 months ago (2014-04-21 05:06:10 UTC) #28
commit-bot: I haz the power
6 years, 8 months ago (2014-04-21 06:06:06 UTC) #29
Message was sent while issue was closed.
Change committed as 264967

Powered by Google App Engine
This is Rietveld 408576698