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

Issue 477583002: [fsp] Add a method to enumerate all mounted file systems. (Closed)

Created:
6 years, 4 months ago by mtomasz
Modified:
6 years, 4 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, asvitkine+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, lavelle_chromium.org
Project:
chromium
Visibility:
Public.

Description

[fsp] Add a method to enumerate all mounted file systems. Since provided file systems are persistent and they are automatically remounted after a reboot, providing extensions may want to know which file systems are actually in use. Before, providing extensions had to keep list of mounted file systems in local storage, which was problematic and could end up on being out of sync in case of crashes. This patch introduces a getAll() method which can be used to get a list of mounted file systems by the provider executing it. TEST=browser_tests: *FileSystemProvider*GetAll* BUG=393156 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290232

Patch Set 1 #

Patch Set 2 : Cleaned up. #

Total comments: 6

Patch Set 3 : Fixed. #

Patch Set 4 : Rebased. #

Messages

Total messages: 10 (0 generated)
mtomasz
@benwells: PTAL at IDL. @hirono: PTAL at JS and C++. @isherman: PTAL as histograms. Thanks.
6 years, 4 months ago (2014-08-14 07:29:32 UTC) #1
Ilya Sherman
histograms lgtm
6 years, 4 months ago (2014-08-14 07:32:51 UTC) #2
hirono
https://codereview.chromium.org/477583002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc File chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc (right): https://codereview.chromium.org/477583002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc#newcode108 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc:108: scoped_ptr<FileSystemInfo> item(new FileSystemInfo); How about turning it to linked_ptr. ...
6 years, 4 months ago (2014-08-14 11:45:32 UTC) #3
benwells
lgtm. Just some questions you can do what you want with. Before we release this ...
6 years, 4 months ago (2014-08-15 01:31:57 UTC) #4
mtomasz
@benwells: Yep, I agree we'll need to update the doc and re-review it, before shipping. ...
6 years, 4 months ago (2014-08-15 03:36:03 UTC) #5
hirono
On 2014/08/15 03:36:03, mtomasz wrote: > @benwells: Yep, I agree we'll need to update the ...
6 years, 4 months ago (2014-08-15 03:39:45 UTC) #6
mtomasz
The CQ bit was checked by mtomasz@chromium.org
6 years, 4 months ago (2014-08-18 08:26:49 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/477583002/60001
6 years, 4 months ago (2014-08-18 08:27:56 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-18 09:40:33 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 10:06:42 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (60001) as 290232

Powered by Google App Engine
This is Rietveld 408576698