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

Issue 6603034: Stop returning the true root path of each filesystem from openFileSystem.... (Closed)

Created:
9 years, 9 months ago by ericu
Modified:
9 years, 9 months ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, michaeln, zel
Visibility:
Public.

Description

Stop returning the true root path of each filesystem from openFileSystem. Instead, return the FileSystem URI of the root. This will make it easier to swap in different filesystem implementations. BUG=71635 TEST=Just a couple in FileSystemUtilTests, but a bunch of existing ones [this doesn't add much new functionality]. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79228

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Total comments: 51

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Patch Set 23 : '' #

Total comments: 9

Patch Set 24 : '' #

Patch Set 25 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1363 lines, -952 lines) Patch
M base/platform_file.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/file_system/file_system_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/worker_host/worker_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/common_param_traits.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +5 lines, -1 line 0 comments Download
M content/common/file_system/webfilesystem_callback_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +7 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download
A webkit/fileapi/file_system_mount_point_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +48 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 7 chunks +27 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_operation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 18 chunks +177 lines, -52 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +49 lines, -2 lines 0 comments Download
A webkit/fileapi/file_system_operation_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +21 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +9 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_path_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +21 lines, -53 lines 0 comments Download
M webkit/fileapi/file_system_path_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +83 lines, -288 lines 0 comments Download
M webkit/fileapi/file_system_path_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 7 chunks +31 lines, -95 lines 0 comments Download
M webkit/fileapi/file_system_usage_tracker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +4 lines, -5 lines 0 comments Download
M webkit/fileapi/file_system_usage_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +4 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_usage_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/fileapi/file_system_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +69 lines, -11 lines 0 comments Download
M webkit/fileapi/file_system_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +14 lines, -0 lines 0 comments Download
A webkit/fileapi/local_file_system_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +112 lines, -0 lines 0 comments Download
A webkit/fileapi/local_file_system_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +178 lines, -0 lines 0 comments Download
A webkit/fileapi/sandbox_mount_point_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +120 lines, -0 lines 0 comments Download
A webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +312 lines, -0 lines 0 comments Download
A + webkit/fileapi/sandbox_mount_point_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -413 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +6 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/simple_file_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +7 lines, -1 line 0 comments Download
M webkit/tools/test_shell/simple_file_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +17 lines, -6 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
ericu
Hey all--as you can see, there are a lot of TODO(ericu) marks in this, but ...
9 years, 9 months ago (2011-03-05 01:42:40 UTC) #1
ericu
I was missing a file; it's there now. On Fri, Mar 4, 2011 at 5:42 ...
9 years, 9 months ago (2011-03-05 01:54:47 UTC) #2
kinuko
At a quick glance it looks neat; but I'm not sure if we have strong ...
9 years, 9 months ago (2011-03-05 02:22:34 UTC) #3
ericu
On Fri, Mar 4, 2011 at 6:22 PM, Kinuko Yasuda <kinuko@chromium.org> wrote: > At a ...
9 years, 9 months ago (2011-03-07 02:50:29 UTC) #4
kinuko
All I'd like to see is a simple architecture with less changes, and I believe ...
9 years, 9 months ago (2011-03-07 07:46:30 UTC) #5
ericu
On Sun, Mar 6, 2011 at 11:46 PM, Kinuko Yasuda <kinuko@chromium.org> wrote: > All I'd ...
9 years, 9 months ago (2011-03-07 20:17:54 UTC) #6
kinuko
(Sorry for my late response, I lost my half-written response due to XSRF token timeout...) ...
9 years, 9 months ago (2011-03-08 01:28:35 UTC) #7
ericu
On Mon, Mar 7, 2011 at 5:28 PM, Kinuko Yasuda <kinuko@chromium.org> wrote: > (Sorry for ...
9 years, 9 months ago (2011-03-08 02:56:20 UTC) #8
kinuko
On Mon, Mar 7, 2011 at 6:55 PM, Eric Uhrhane <ericu@chromium.org> wrote: >> (Sorry for ...
9 years, 9 months ago (2011-03-08 20:26:50 UTC) #9
Dai Mikurube (google.com)
On 2011/03/08 20:26:50, kinuko wrote: > On Mon, Mar 7, 2011 at 6:55 PM, Eric ...
9 years, 9 months ago (2011-03-08 20:46:53 UTC) #10
ericu
OK, I've rolled in Kinuko's feedback. There's quite a bit of churn there, and it's ...
9 years, 9 months ago (2011-03-10 03:39:46 UTC) #11
ericu
Incidentally, I'm working on the trybot's test failures now. I'd passed all the tests, but ...
9 years, 9 months ago (2011-03-10 22:48:14 UTC) #12
ericu
The [small] fix is up, and the trybots are running again. On Thu, Mar 10, ...
9 years, 9 months ago (2011-03-10 23:28:14 UTC) #13
Dai Mikurube (NOT FULLTIME)
I just looked down briefly at the architecture, your approach looks basically good. I'll take ...
9 years, 9 months ago (2011-03-11 18:39:29 UTC) #14
kinuko
Really sorry for my very late review. Overall its direction looks good, but since this ...
9 years, 9 months ago (2011-03-14 11:03:57 UTC) #15
ericu
I still need to fix the DRT tests, but here's most of it. http://codereview.chromium.org/6603034/diff/25001/webkit/fileapi/file_system_mount_point_provider.h File ...
9 years, 9 months ago (2011-03-15 02:43:11 UTC) #16
kinuko
http://codereview.chromium.org/6603034/diff/25001/webkit/fileapi/file_system_operation.cc File webkit/fileapi/file_system_operation.cc (right): http://codereview.chromium.org/6603034/diff/25001/webkit/fileapi/file_system_operation.cc#newcode166 webkit/fileapi/file_system_operation.cc:166: &dest_origin_url, &dest_type, &virtual_path_1)) { On 2011/03/15 02:43:11, ericu wrote: ...
9 years, 9 months ago (2011-03-16 19:33:38 UTC) #17
ericu
http://codereview.chromium.org/6603034/diff/25001/webkit/fileapi/file_system_path_manager.cc File webkit/fileapi/file_system_path_manager.cc (right): http://codereview.chromium.org/6603034/diff/25001/webkit/fileapi/file_system_path_manager.cc#newcode121 webkit/fileapi/file_system_path_manager.cc:121: DCHECK(!local_path.ReferencesParent()); On 2011/03/16 19:33:38, kinuko wrote: > On 2011/03/15 ...
9 years, 9 months ago (2011-03-16 23:47:31 UTC) #18
ericu
Please take another look; I've put the webkit changes up at https://bugs.webkit.org/show_bug.cgi?id=56704, and this CL ...
9 years, 9 months ago (2011-03-20 00:20:22 UTC) #19
ericu
The webkit patch has landed; this should be ready to go as of the next ...
9 years, 9 months ago (2011-03-21 21:33:58 UTC) #20
kinuko
I would make a separate changeset for changes in platform_file and webfilesystem_callback_dispatcher, and there're still ...
9 years, 9 months ago (2011-03-22 00:16:24 UTC) #21
ericu
I also did a few lint cleanups. I'll wait for the next webkit roll, then ...
9 years, 9 months ago (2011-03-22 00:40:31 UTC) #22
ericu
On Mon, Mar 21, 2011 at 5:16 PM, <kinuko@chromium.org> wrote: > I would make a ...
9 years, 9 months ago (2011-03-22 21:46:43 UTC) #23
kinuko
On 2011/03/22 21:46:43, ericu wrote: > On Mon, Mar 21, 2011 at 5:16 PM, <mailto:kinuko@chromium.org> ...
9 years, 9 months ago (2011-03-22 22:11:53 UTC) #24
zel
Yes, I am also voting for separate CL on all remaining issues for my own ...
9 years, 9 months ago (2011-03-22 22:12:13 UTC) #25
ericu
On Tue, Mar 22, 2011 at 3:11 PM, <kinuko@chromium.org> wrote: > On 2011/03/22 21:46:43, ericu ...
9 years, 9 months ago (2011-03-22 22:13:01 UTC) #26
ericu
I need a review from someone in content/OWNERS, too. Could one of you please take ...
9 years, 9 months ago (2011-03-23 18:20:19 UTC) #27
brettw
9 years, 9 months ago (2011-03-26 17:55:36 UTC) #28
I only gave a superficial review for content and it LGTM (if you still need
that). Sorry for the delay.

Powered by Google App Engine
This is Rietveld 408576698