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

Issue 4054003: FileSystem code cleanup 2nd cut - introduce SandboxedFileSystemOperation (Closed)

Created:
10 years, 2 months ago by kinuko
Modified:
9 years, 7 months ago
Reviewers:
ericu, michaeln, dumi
CC:
chromium-reviews, darin-cc_chromium.org, ben+cc_chromium.org, Kavita Kanetkar, cbentzel+watch_chromium.org, Erik does not do reviews, brettw-cc_chromium.org, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., jam, arv (Not doing code reviews), davemoore+watch_chromium.org
Visibility:
Public.

Description

FileSystem code cleanup 2nd cut - introduce SandboxedFileSystemOperation 1. Introduced SandboxedFileSystemOperation. 2. Factored out most of the PathManager/QuotaManager related code from FileSystemDispatcherHost to the SandboxedFileSystemOperation. BUG=60243 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65598

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 17

Patch Set 3 : '' #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -257 lines) Patch
M chrome/browser/file_system/browser_file_system_callback_dispatcher.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/file_system/browser_file_system_context.h View 1 2 1 chunk +6 lines, -14 lines 0 comments Download
M chrome/browser/file_system/browser_file_system_context.cc View 1 1 chunk +11 lines, -24 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.h View 1 2 3 4 chunks +12 lines, -37 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.cc View 1 2 3 9 chunks +10 lines, -137 lines 0 comments Download
M webkit/fileapi/file_system_operation.h View 1 2 3 3 chunks +46 lines, -43 lines 0 comments Download
A webkit/fileapi/sandboxed_file_system_context.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A webkit/fileapi/sandboxed_file_system_context.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download
A webkit/fileapi/sandboxed_file_system_operation.h View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
A webkit/fileapi/sandboxed_file_system_operation.cc View 1 2 1 chunk +184 lines, -0 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kinuko
The main part of the refactoring. (The test_shell change will come later)
10 years, 2 months ago (2010-10-25 22:38:27 UTC) #1
ericu
http://codereview.chromium.org/4054003/diff/15001/16003 File chrome/browser/file_system/browser_file_system_context.h (right): http://codereview.chromium.org/4054003/diff/15001/16003#newcode17 chrome/browser/file_system/browser_file_system_context.h:17: // that shared by the same profile. This class ...
10 years, 1 month ago (2010-10-27 00:05:22 UTC) #2
dumi
http://codereview.chromium.org/4054003/diff/15001/16006 File webkit/fileapi/file_system_operation.h (right): http://codereview.chromium.org/4054003/diff/15001/16006#newcode106 webkit/fileapi/file_system_operation.h:106: scoped_ptr<FileSystemCallbackDispatcher> dispatcher_; i personally prefer to make all fields ...
10 years, 1 month ago (2010-10-27 00:06:49 UTC) #3
michaeln
Good to see more of the logic being put into the fileapi library! Is there ...
10 years, 1 month ago (2010-10-27 00:15:27 UTC) #4
ericu
I actually liked the split; it lets you put functionality in one place and protection ...
10 years, 1 month ago (2010-10-27 00:19:05 UTC) #5
kinuko
I kept FileSystemOperation as a separate class mainly for testing; so that we can test ...
10 years, 1 month ago (2010-10-27 01:07:45 UTC) #6
michaeln
On 2010/10/27 01:07:45, Kinuko Yasuda wrote: > I kept FileSystemOperation as a separate class mainly ...
10 years, 1 month ago (2010-10-27 19:31:17 UTC) #7
kinuko
http://codereview.chromium.org/4054003/diff/15001/16003 File chrome/browser/file_system/browser_file_system_context.h (right): http://codereview.chromium.org/4054003/diff/15001/16003#newcode17 chrome/browser/file_system/browser_file_system_context.h:17: // that shared by the same profile. This class ...
10 years, 1 month ago (2010-10-27 23:59:29 UTC) #8
ericu
http://codereview.chromium.org/4054003/diff/15001/16003 File chrome/browser/file_system/browser_file_system_context.h (right): http://codereview.chromium.org/4054003/diff/15001/16003#newcode18 chrome/browser/file_system/browser_file_system_context.h:18: // fileapi::SandboxedFileSystemContext. On 2010/10/27 23:59:29, Kinuko Yasuda wrote: > ...
10 years, 1 month ago (2010-10-29 02:24:58 UTC) #9
kinuko
Thanks, please find my response inline. http://codereview.chromium.org/4054003/diff/15001/16003 File chrome/browser/file_system/browser_file_system_context.h (right): http://codereview.chromium.org/4054003/diff/15001/16003#newcode18 chrome/browser/file_system/browser_file_system_context.h:18: // fileapi::SandboxedFileSystemContext. On ...
10 years, 1 month ago (2010-11-02 07:53:24 UTC) #10
ericu
On Tue, Nov 2, 2010 at 12:53 AM, <kinuko@chromium.org> wrote: > Thanks, please find my ...
10 years, 1 month ago (2010-11-05 23:30:49 UTC) #11
kinuko
On Fri, Nov 5, 2010 at 4:30 PM, Eric Uhrhane <ericu@chromium.org> wrote: > On Tue, ...
10 years, 1 month ago (2010-11-06 01:22:50 UTC) #12
ericu
On 2010/11/06 01:22:50, Kinuko Yasuda wrote: > On Fri, Nov 5, 2010 at 4:30 PM, ...
10 years, 1 month ago (2010-11-09 00:01:30 UTC) #13
kinuko
On 2010/11/09 00:01:30, ericu wrote: > > > > On the second thought, this browser ...
10 years, 1 month ago (2010-11-09 00:27:14 UTC) #14
ericu
On Mon, Nov 8, 2010 at 4:27 PM, <kinuko@chromium.org> wrote: > On 2010/11/09 00:01:30, ericu ...
10 years, 1 month ago (2010-11-09 00:29:14 UTC) #15
ericu
10 years, 1 month ago (2010-11-09 00:30:14 UTC) #16
LGTM

Powered by Google App Engine
This is Rietveld 408576698