Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (Closed)

Created:
7 years, 5 months ago by satorux1
Modified:
7 years, 5 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jam, nkostylev+watch_chromium.org, vandebo (ex-Chrome), Lei Zhang, tfarina, Greg Billock, joi+watch-content_chromium.org, tommycli, rginda+watch_chromium.org, glider+watch_chromium.org, darin-cc_chromium.org, timurrrr+watch_chromium.org, oshima+watch_chromium.org, tzik+watch_chromium.org, chromium-apps-reviews_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

fileapi: Rename FileSystemMountProvider to FileSystemBackend The old name is a misnomer as this class no longer provides mount points! Per some discussion, FileSystemBackend matches what the class is currently doing and trying to be. BUG=257016 TEST=none [email protected], [email protected], [email protected], [email protected] # for one-line #include renames in chrome/browser/browsing_data/browsing_data_file_system_helper.cc chrome/browser/extensions/component_loader.cc chrome/browser/extensions/extension_service.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210480

Patch Set 1 #

Patch Set 2 : #

Total comments: 32

Patch Set 3 : address comments #

Total comments: 42

Patch Set 4 : rebase #

Patch Set 5 : address comments #

Total comments: 4

Patch Set 6 : fix comment #

Total comments: 2

Patch Set 7 : address comments #

Patch Set 8 : rebase #

Total comments: 3

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -3830 lines) Patch
M chrome/browser/browsing_data/browsing_data_file_system_helper.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -13 lines 0 comments Download
A + chrome/browser/chromeos/drive/file_system_backend_delegate.h View 1 2 3 4 5 6 3 chunks +10 lines, -11 lines 0 comments Download
A + chrome/browser/chromeos/drive/file_system_backend_delegate.cc View 1 2 3 4 5 6 7 8 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system_util_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/chromeos/drive/mount_point_provider_delegate.h View 1 2 3 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/browser/chromeos/drive/mount_point_provider_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -92 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc View 1 2 3 4 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc View 1 2 3 4 8 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc View 1 2 3 4 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc View 1 2 3 4 3 chunks +10 lines, -10 lines 0 comments Download
D chrome/browser/chromeos/fileapi/cros_mount_point_provider.h View 1 2 3 1 chunk +0 lines, -168 lines 0 comments Download
D chrome/browser/chromeos/fileapi/cros_mount_point_provider.cc View 1 2 3 1 chunk +0 lines, -321 lines 0 comments Download
D chrome/browser/chromeos/fileapi/cros_mount_point_provider_delegate.h View 1 2 3 1 chunk +0 lines, -65 lines 0 comments Download
D chrome/browser/chromeos/fileapi/cros_mount_point_provider_unittest.cc View 1 2 3 1 chunk +0 lines, -273 lines 0 comments Download
A + chrome/browser/chromeos/fileapi/file_system_backend.h View 1 2 3 8 chunks +19 lines, -20 lines 0 comments Download
A + chrome/browser/chromeos/fileapi/file_system_backend.cc View 1 2 3 16 chunks +23 lines, -23 lines 0 comments Download
A + chrome/browser/chromeos/fileapi/file_system_backend_delegate.h View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
A + chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc View 1 2 3 4 5 6 12 chunks +34 lines, -34 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/itunes_data_provider.cc View 15 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/itunes_file_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + chrome/browser/media_galleries/fileapi/media_file_system_backend.h View 1 2 3 3 chunks +9 lines, -10 lines 0 comments Download
A + chrome/browser/media_galleries/fileapi/media_file_system_backend.cc View 1 2 3 11 chunks +17 lines, -17 lines 0 comments Download
D chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h View 1 2 3 1 chunk +0 lines, -93 lines 0 comments Download
D chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc View 1 2 3 1 chunk +0 lines, -211 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/media_file_validator_unittest.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/native_media_file_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/picasa_file_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/safe_itunes_library_parser.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/media_galleries/imported_media_gallery_registry.cc View 8 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/media_galleries/scoped_mtp_device_map_entry.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/browser_file_system_helper.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/worker_host/worker_process_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 2 chunks +6 lines, -9 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/async_file_test_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/async_file_util.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/copy_or_move_file_validator_unittest.cc View 1 2 3 4 3 chunks +12 lines, -12 lines 0 comments Download
M webkit/browser/fileapi/copy_or_move_operation_delegate_unittest.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/dump_file_system.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + webkit/browser/fileapi/file_system_backend.h View 1 2 3 4 chunks +9 lines, -10 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.h View 1 2 3 4 10 chunks +35 lines, -36 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 2 3 4 18 chunks +80 lines, -90 lines 0 comments Download
M webkit/browser/fileapi/file_system_context_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D webkit/browser/fileapi/file_system_mount_point_provider.h View 1 2 3 1 chunk +0 lines, -150 lines 0 comments Download
M webkit/browser/fileapi/file_system_quota_client.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A + webkit/browser/fileapi/isolated_file_system_backend.h View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
A + webkit/browser/fileapi/isolated_file_system_backend.cc View 1 2 3 9 chunks +12 lines, -12 lines 0 comments Download
D webkit/browser/fileapi/isolated_mount_point_provider.h View 1 2 3 1 chunk +0 lines, -55 lines 0 comments Download
D webkit/browser/fileapi/isolated_mount_point_provider.cc View 1 2 3 1 chunk +0 lines, -141 lines 0 comments Download
M webkit/browser/fileapi/local_file_system_operation.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/local_file_system_operation.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/local_file_system_operation_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/local_file_system_operation_write_unittest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/local_file_util.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/mock_file_system_context.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/mock_file_system_context.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + webkit/browser/fileapi/sandbox_file_system_backend.h View 1 2 3 7 chunks +14 lines, -14 lines 0 comments Download
A + webkit/browser/fileapi/sandbox_file_system_backend.cc View 1 2 3 27 chunks +38 lines, -38 lines 0 comments Download
A + webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc View 1 2 3 4 5 6 13 chunks +49 lines, -49 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_test_helper.cc View 1 2 3 4 4 chunks +7 lines, -7 lines 0 comments Download
D webkit/browser/fileapi/sandbox_mount_point_provider.h View 1 2 3 1 chunk +0 lines, -249 lines 0 comments Download
D webkit/browser/fileapi/sandbox_mount_point_provider.cc View 1 2 3 1 chunk +0 lines, -676 lines 0 comments Download
M webkit/browser/fileapi/sandbox_mount_point_provider_unittest.cc View 1 2 1 chunk +0 lines, -357 lines 0 comments Download
M webkit/browser/fileapi/sandbox_quota_observer.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/syncable/canned_syncable_file_system.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_system_operation.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_system_operation.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/browser/fileapi/syncable/syncable_file_system_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + webkit/browser/fileapi/test_file_system_backend.h View 1 2 3 4 3 chunks +11 lines, -11 lines 0 comments Download
A + webkit/browser/fileapi/test_file_system_backend.cc View 1 2 3 4 10 chunks +16 lines, -16 lines 0 comments Download
M webkit/browser/fileapi/test_mount_point_provider.h View 1 2 3 4 1 chunk +0 lines, -97 lines 0 comments Download
D webkit/browser/fileapi/test_mount_point_provider.cc View 1 2 3 4 1 chunk +0 lines, -190 lines 0 comments Download
M webkit/browser/fileapi/upload_file_system_file_element_reader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/storage_browser.gyp View 1 2 3 4 5 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
satorux1
kinuko: webkit/... and content/... vandebo: chrome/browser/media_galleries/... hidehiko: chrome/browser/chromeos/...
7 years, 5 months ago (2013-07-04 06:46:36 UTC) #1
satorux1
avi: content/public/browser/content_browser_client.h
7 years, 5 months ago (2013-07-04 06:52:27 UTC) #2
kinuko
lgtm, some rants & nits https://codereview.chromium.org/18344013/diff/4001/webkit/browser/fileapi/file_system_backend.h File webkit/browser/fileapi/file_system_backend.h (right): https://codereview.chromium.org/18344013/diff/4001/webkit/browser/fileapi/file_system_backend.h#newcode130 webkit/browser/fileapi/file_system_backend.h:130: : public FileSystemBackend { ...
7 years, 5 months ago (2013-07-04 07:12:23 UTC) #3
hidehiko
https://codereview.chromium.org/18344013/diff/4001/chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc File chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc (right): https://codereview.chromium.org/18344013/diff/4001/chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc#newcode370 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc:370: fileapi::ExternalFileSystemBackend* external_provider = s/provider/backend/ ? https://codereview.chromium.org/18344013/diff/4001/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc File chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc (right): ...
7 years, 5 months ago (2013-07-04 07:14:40 UTC) #4
satorux1
https://codereview.chromium.org/18344013/diff/4001/chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc File chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc (right): https://codereview.chromium.org/18344013/diff/4001/chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc#newcode370 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api.cc:370: fileapi::ExternalFileSystemBackend* external_provider = On 2013/07/04 07:14:40, hidehiko wrote: > ...
7 years, 5 months ago (2013-07-04 08:11:32 UTC) #5
hidehiko
The code looks good, but the compile is failing on trybot? Two nitpicks: https://codereview.chromium.org/18344013/diff/23001/chrome/browser/chrome_content_browser_client.h File ...
7 years, 5 months ago (2013-07-04 08:21:12 UTC) #6
kinuko
I added some more comments for consistency in file_system_context.*. Thanks for doing this, or feel ...
7 years, 5 months ago (2013-07-04 08:44:35 UTC) #7
satorux1
https://codereview.chromium.org/18344013/diff/23001/chrome/browser/chrome_content_browser_client.h File chrome/browser/chrome_content_browser_client.h (right): https://codereview.chromium.org/18344013/diff/23001/chrome/browser/chrome_content_browser_client.h#newcode248 chrome/browser/chrome_content_browser_client.h:248: ScopedVector<fileapi::FileSystemBackend>* On 2013/07/04 08:21:12, hidehiko wrote: > nit: Can ...
7 years, 5 months ago (2013-07-05 04:47:57 UTC) #8
satorux1
+thestig for minor changes in chrome/browser: chrome/browser/browsing_data/browsing_data_file_system_helper.cc chrome/browser/extensions/component_loader.cc chrome/browser/extensions/extension_service.cc please also feel free to review ...
7 years, 5 months ago (2013-07-05 05:02:27 UTC) #9
kinuko
lgtm, much more complete. Some nits for remnants in comments https://codereview.chromium.org/18344013/diff/36001/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc File webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc (right): https://codereview.chromium.org/18344013/diff/36001/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc#newcode277 ...
7 years, 5 months ago (2013-07-05 05:11:10 UTC) #10
hidehiko
lgtm https://codereview.chromium.org/18344013/diff/41001/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc File chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc (right): https://codereview.chromium.org/18344013/diff/41001/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc#newcode203 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc:203: TEST(FileSystemBackendTest, GetVirtualPathConflictWithSystemPoints) { nit: Not Done yet?
7 years, 5 months ago (2013-07-05 05:18:06 UTC) #11
satorux1
https://codereview.chromium.org/18344013/diff/36001/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc File webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc (right): https://codereview.chromium.org/18344013/diff/36001/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc#newcode277 webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc:277: GetRootPathCreateAndExamineWithNewProvider) { On 2013/07/05 05:11:11, kinuko wrote: > NewProvider ...
7 years, 5 months ago (2013-07-05 05:25:34 UTC) #12
Jói
LGTM for //content/public.
7 years, 5 months ago (2013-07-05 13:10:42 UTC) #13
vandebo (ex-Chrome)
LGTM FYI: thestig is OOO this week. https://codereview.chromium.org/18344013/diff/61001/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc File chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc (right): https://codereview.chromium.org/18344013/diff/61001/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc#newcode160 chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc:160: class TestMediaFileSystemBackend ...
7 years, 5 months ago (2013-07-08 16:04:33 UTC) #14
satorux1
7 years, 5 months ago (2013-07-09 01:22:55 UTC) #15
Message was sent while issue was closed.
Committed patchset #9 manually as r210480 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698