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

Issue 19632004: FileAPI: Add Initialize() function to FileSystemBackend (Closed)

Created:
7 years, 5 months ago by nhiroki
Modified:
7 years, 5 months ago
Reviewers:
kinuko, satorux1, tzik
CC:
chromium-reviews, vandebo (ex-Chrome), nkostylev+watch_chromium.org, Lei Zhang, tzik+watch_chromium.org, Greg Billock, tommycli, darin-cc_chromium.org, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

FileAPI: Add Initialize() function to FileSystemBackend This is a preliminary change for adding SyncFileSystemBackend. At first, we planed to do initializing process for SyncFileSystemBackend in InitializeFileSystem(), but it revealed that there are some hassles on that way (see [*]), so we decieded to introduce a separate initialze function and to rename InitializeFileSystem() to its original name (i.e. OpenFileSystem()). [*] https://codereview.chromium.org/18668003/ BUG=242422 TEST=should pass all existing tests NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213382

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : review fix #

Total comments: 4

Patch Set 4 : fix comment #

Patch Set 5 : fix #

Patch Set 6 : rebase #

Patch Set 7 : remove const qualifier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -56 lines) Patch
M chrome/browser/chromeos/fileapi/file_system_backend.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/fileapi/file_system_backend.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/media_file_system_backend.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/media_file_system_backend.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/copy_or_move_file_validator_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M webkit/browser/fileapi/copy_or_move_operation_delegate_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/file_system_backend.h View 1 2 3 4 5 6 1 chunk +9 lines, -5 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/isolated_file_system_backend.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/isolated_file_system_backend.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend.cc View 1 2 3 4 5 6 2 chunks +15 lines, -13 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/browser/fileapi/test_file_system_backend.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/test_file_system_backend.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
nhiroki
Hi, can you take a look? Thanks!
7 years, 5 months ago (2013-07-23 07:21:14 UTC) #1
kinuko
Can we merge the revert change into this one (i.e. splitting the current InitializeFileSystem into ...
7 years, 5 months ago (2013-07-23 07:33:49 UTC) #2
nhiroki
Thanks! PTAL. On 2013/07/23 07:33:49, kinuko wrote: > Can we merge the revert change into ...
7 years, 5 months ago (2013-07-23 08:11:22 UTC) #3
kinuko
lgtm https://codereview.chromium.org/19632004/diff/15001/webkit/browser/fileapi/file_system_backend.h File webkit/browser/fileapi/file_system_backend.h (right): https://codereview.chromium.org/19632004/diff/15001/webkit/browser/fileapi/file_system_backend.h#newcode56 webkit/browser/fileapi/file_system_backend.h:56: // This method should be called right after ...
7 years, 5 months ago (2013-07-23 08:22:15 UTC) #4
nhiroki
Updated! https://codereview.chromium.org/19632004/diff/15001/webkit/browser/fileapi/file_system_backend.h File webkit/browser/fileapi/file_system_backend.h (right): https://codereview.chromium.org/19632004/diff/15001/webkit/browser/fileapi/file_system_backend.h#newcode56 webkit/browser/fileapi/file_system_backend.h:56: // This method should be called right after ...
7 years, 5 months ago (2013-07-23 08:38:08 UTC) #5
nhiroki
+Satoru-san, can you review c/b/cros/fileapi/*? Thanks!
7 years, 5 months ago (2013-07-23 08:41:24 UTC) #6
tzik
lgtm
7 years, 5 months ago (2013-07-24 04:03:11 UTC) #7
satorux1
c/b/chromeos/fileapi LGTM
7 years, 5 months ago (2013-07-24 04:57:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/19632004/31001
7 years, 5 months ago (2013-07-24 05:22:22 UTC) #9
commit-bot: I haz the power
Failed to apply patch for webkit/browser/fileapi/copy_or_move_operation_delegate_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-24 05:22:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/19632004/43001
7 years, 5 months ago (2013-07-24 05:29:24 UTC) #11
kinuko
Looking at the other CL, it looks we may rather want to pass non-const FileSystemContext ...
7 years, 5 months ago (2013-07-24 06:20:07 UTC) #12
nhiroki
On 2013/07/24 06:20:07, kinuko wrote: > Looking at the other CL, it looks we may ...
7 years, 5 months ago (2013-07-24 06:26:21 UTC) #13
kinuko
On 2013/07/24 06:26:21, nhiroki wrote: > On 2013/07/24 06:20:07, kinuko wrote: > > Looking at ...
7 years, 5 months ago (2013-07-24 07:20:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/19632004/56001
7 years, 5 months ago (2013-07-24 08:10:06 UTC) #15
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 10:01:58 UTC) #16
Message was sent while issue was closed.
Change committed as 213382

Powered by Google App Engine
This is Rietveld 408576698