|
[fsp] Introduce file_system_provider::Service class for the FileSystemProvider API.
This patch introduces a service which manages file systems provided by third party extensions.
The class has two methods: registerFileSystem() and unregisterFileSystem() which are supposed to be called from
chrome.fileSystemProvider.* api methods. The service stores a map of the registered file systems, mounts them, and
notifies observers (VolumeManager) about the fact.
The file system backend does not handle the new file system type yet, this will be done separately.
TEST=browser_test, unit_tests: *FileSystemProvider*
BUG= 248427
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259820
Total comments: 4
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+791 lines, -28 lines) |
Patch |
|
M |
chrome/browser/chromeos/extensions/file_manager/private_api_util.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/extensions/file_system_provider/OWNERS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc
|
View
|
|
3 chunks |
+24 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_manager/volume_manager.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+23 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_manager/volume_manager.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+49 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_manager/volume_manager_factory.cc
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_manager/volume_manager_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/chromeos/file_system_provider/OWNERS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/provided_file_system.h
|
View
|
1
2
3
4
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/provided_file_system.cc
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/service.h
|
View
|
1
2
3
4
5
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/service.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+151 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/service_factory.h
|
View
|
1
2
3
4
5
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/service_factory.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/service_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+202 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/file_browser_private.idl
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/file_system_provider/mount/manifest.json
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/data/extensions/api_test/file_system_provider/mount/test.js
|
View
|
|
2 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
webkit/browser/fileapi/file_system_context.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webkit/common/fileapi/file_system_types.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webkit/common/fileapi/file_system_util.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|