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

Issue 195923002: Add mechanism to auto mount file systems in response to a URL request. (Closed)

Created:
6 years, 9 months ago by vandebo (ex-Chrome)
Modified:
6 years, 9 months ago
Reviewers:
kinuko, sky, Jói, tzik
CC:
chromium-reviews, vandebo (ex-Chrome), tzik, Lei Zhang, jam, nhiroki, joi+watch-content_chromium.org, tommycli, darin-cc_chromium.org, Greg Billock, kinuko+watch, mtomasz
Visibility:
Public.

Description

Add mechanism to auto mount file systems in response to a URL request. This code adds a hook for when a file system URL request can not be cracked. It will allow external media galleries file systems to be lazily created. BUG=160900 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258064

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update test code #

Total comments: 10

Patch Set 3 : Address comments and add tests #

Patch Set 4 : Fix compile #

Patch Set 5 : Fix compile #

Total comments: 16

Patch Set 6 : Address comments #

Patch Set 7 : Make test work on Android too #

Patch Set 8 : Fix mac test compile #

Patch Set 9 : rebase #

Patch Set 10 : Ignore platform dependent directory size #

Patch Set 11 : Fix CrOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -32 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_util_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/media_file_system_backend.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/local/canned_syncable_file_system.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/fileapi/browser_file_system_helper.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M content/browser/fileapi/file_system_context_unittest.cc View 1 2 1 chunk +10 lines, -8 lines 0 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +116 lines, -5 lines 0 comments Download
M content/browser/fileapi/file_system_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +92 lines, -2 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/test/test_file_system_backend.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M content/public/test/test_file_system_context.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M content/public/test/test_file_system_context.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/external_mount_points.h View 1 chunk +1 line, -3 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.h View 1 2 3 4 5 6 chunks +30 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 2 3 4 5 4 chunks +19 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_dir_url_request_job.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_dir_url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +20 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_url_request_job.h View 2 chunks +5 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/file_system_url_request_job.cc View 3 chunks +19 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_url_request_job_factory.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M webkit/browser/fileapi/file_system_url_request_job_factory.cc View 1 2 3 4 5 4 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
vandebo (ex-Chrome)
PTAL - The work in progress consumer of this is: https://codereview.chromium.org/185393012/diff/40001/chrome/browser/media_galleries/fileapi/media_file_system_backend.cc#newcode131 https://codereview.chromium.org/195923002/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): ...
6 years, 9 months ago (2014-03-11 23:50:48 UTC) #1
kinuko
Interesting. +tzik for second reviewer, cc-ing mtomasz in case it may interest him. https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc File ...
6 years, 9 months ago (2014-03-12 05:50:39 UTC) #2
kinuko
(cc-ing mtomasz in case it may interest him, this time really does so)
6 years, 9 months ago (2014-03-12 05:51:39 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc#newcode343 webkit/browser/fileapi/file_system_context.cc:343: void FileSystemContext::AttemptAutoMountForURLRequest( On 2014/03/12 05:50:40, kinuko wrote: > Will ...
6 years, 9 months ago (2014-03-12 18:35:54 UTC) #4
kinuko
lgtm (tzik: can you do a secondary review esp. for unittests?) https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): ...
6 years, 9 months ago (2014-03-13 04:19:19 UTC) #5
tzik
lgtm https://codereview.chromium.org/195923002/diff/80001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/195923002/diff/80001/webkit/browser/fileapi/file_system_context.cc#newcode347 webkit/browser/fileapi/file_system_context.cc:347: FileSystemURL filesystem_url = FileSystemURL(url_request->url()); Can this be like ...
6 years, 9 months ago (2014-03-13 05:36:06 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc File webkit/browser/fileapi/file_system_context.cc (right): https://codereview.chromium.org/195923002/diff/20001/webkit/browser/fileapi/file_system_context.cc#newcode117 webkit/browser/fileapi/file_system_context.cc:117: std::vector<URLRequestAutoMountHandler> auto_mount_handlers, On 2014/03/13 04:19:19, kinuko wrote: > const ...
6 years, 9 months ago (2014-03-13 20:19:32 UTC) #7
vandebo (ex-Chrome)
+joi for content/public +sky for remaining owners approval (not content public or fileapi)
6 years, 9 months ago (2014-03-13 20:20:52 UTC) #8
sky
LGTM
6 years, 9 months ago (2014-03-13 21:40:20 UTC) #9
Jói
//content/public LGTM
6 years, 9 months ago (2014-03-14 12:20:03 UTC) #10
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 9 months ago (2014-03-14 15:09:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/195923002/120001
6 years, 9 months ago (2014-03-14 15:09:10 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 17:36:12 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=282084
6 years, 9 months ago (2014-03-14 17:36:13 UTC) #14
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 9 months ago (2014-03-18 21:35:15 UTC) #15
vandebo (ex-Chrome)
tzik: I had to make a few changes to tests to make things work across ...
6 years, 9 months ago (2014-03-18 21:36:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/195923002/200001
6 years, 9 months ago (2014-03-18 21:41:38 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 22:17:50 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 9 months ago (2014-03-18 22:17:52 UTC) #19
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 9 months ago (2014-03-19 15:18:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/195923002/200001
6 years, 9 months ago (2014-03-19 15:18:43 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 16:40:56 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=284399
6 years, 9 months ago (2014-03-19 16:40:57 UTC) #23
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 9 months ago (2014-03-19 16:49:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/195923002/200001
6 years, 9 months ago (2014-03-19 16:50:02 UTC) #25
commit-bot: I haz the power
Change committed as 258064
6 years, 9 months ago (2014-03-19 19:40:35 UTC) #26
pneubeck (no reviews)
A revert of this CL has been created in https://codereview.chromium.org/206253002/ by pneubeck@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-20 10:00:07 UTC) #27
pneubeck (no reviews)
6 years, 9 months ago (2014-03-20 16:20:06 UTC) #28
Message was sent while issue was closed.
On 2014/03/20 10:00:07, pneubeck wrote:
> A revert of this CL has been created in
> https://codereview.chromium.org/206253002/ by mailto:pneubeck@chromium.org.
> 
> The reason for reverting is: Best guess that this broke
> SyncFileSystemApiTest.WriteFileThenGetUsage
> SyncFileSystemApiTest.GetFileStatuses
> MediaGalleriesPlatformAppBrowserTest.MediaGalleriesCopyTo
> on XP Tests(1)..

Seems not to have caused the test failures.
See crbug.com/354425 for details.

Powered by Google App Engine
This is Rietveld 408576698