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

Issue 21116008: FileAPI: Move FileSystemQuotaUtil related functions into SandboxContext (Closed)

Created:
7 years, 4 months ago by nhiroki
Modified:
7 years, 4 months ago
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, darin-cc_chromium.org
Visibility:
Public.

Description

FileAPI: Move FileSystemQuotaUtil related functions into SandboxContext This moves FileSystemQuotaUtil related functions from SandboxFileSystemBackend to SandboxContext so that SyncFileSystemBackend which will be introduced in the following CL can use the same code. This does not include any behavioral changes of those functions. This is a preparation patch to introduce SyncFileSystemBackend https://codereview.chromium.org/18668003/ BUG=242422 TEST=content_unittests NOTRY=true TBR=jochen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214977

Patch Set 1 : #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : review fix #

Patch Set 6 : test fix #

Patch Set 7 : clean up #

Total comments: 4

Patch Set 8 : review fix #

Patch Set 9 : fix #

Patch Set 10 : clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -394 lines) Patch
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/file_system_context.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/browser/fileapi/sandbox_context.h View 1 2 3 4 5 chunks +97 lines, -1 line 0 comments Download
M webkit/browser/fileapi/sandbox_context.cc View 1 2 3 4 5 6 7 4 chunks +260 lines, -2 lines 0 comments Download
A webkit/browser/fileapi/sandbox_context_unittest.cc View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend.h View 1 2 3 4 5 6 7 8 9 5 chunks +3 lines, -89 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend.cc View 1 2 3 4 5 6 7 8 9 16 chunks +35 lines, -242 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc View 1 2 3 4 5 chunks +13 lines, -50 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_test_helper.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M webkit/browser/fileapi/sandbox_quota_observer.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
nhiroki
PTAL, thanks!
7 years, 4 months ago (2013-07-30 07:06:04 UTC) #1
kinuko
https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.cc File webkit/browser/fileapi/sandbox_context.cc (right): https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.cc#newcode68 webkit/browser/fileapi/sandbox_context.cc:68: } This method probably shouldn't be here. For IsAccessValid() ...
7 years, 4 months ago (2013-07-30 08:22:20 UTC) #2
nhiroki
Updated. Please take another look. https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.cc File webkit/browser/fileapi/sandbox_context.cc (right): https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.cc#newcode68 webkit/browser/fileapi/sandbox_context.cc:68: } On 2013/07/30 08:22:20, ...
7 years, 4 months ago (2013-07-30 11:56:44 UTC) #3
kinuko
https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.h File webkit/browser/fileapi/sandbox_context.h (right): https://codereview.chromium.org/21116008/diff/16001/webkit/browser/fileapi/sandbox_context.h#newcode133 webkit/browser/fileapi/sandbox_context.h:133: ObfuscatedFileUtil* sync_file_util(); On 2013/07/30 11:56:44, nhiroki wrote: > On ...
7 years, 4 months ago (2013-07-31 06:12:34 UTC) #4
nhiroki
Thanks! Updated. https://codereview.chromium.org/21116008/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/21116008/diff/36001/webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc#newcode97 webkit/browser/fileapi/sandbox_file_system_backend_unittest.cc:97: context_->set_file_system_options(options); On 2013/07/31 06:12:34, kinuko wrote: > ...
7 years, 4 months ago (2013-07-31 07:23:19 UTC) #5
kinuko
lgtm https://codereview.chromium.org/21116008/diff/72001/webkit/browser/fileapi/sandbox_context.cc File webkit/browser/fileapi/sandbox_context.cc (right): https://codereview.chromium.org/21116008/diff/72001/webkit/browser/fileapi/sandbox_context.cc#newcode27 webkit/browser/fileapi/sandbox_context.cc:27: const char kDisableUsageTracking[] = "disable-file-system-usage-tracking"; Wasn't this deleted? ...
7 years, 4 months ago (2013-07-31 07:35:53 UTC) #6
nhiroki
Thank you for reviewing! https://codereview.chromium.org/21116008/diff/72001/webkit/browser/fileapi/sandbox_context.cc File webkit/browser/fileapi/sandbox_context.cc (right): https://codereview.chromium.org/21116008/diff/72001/webkit/browser/fileapi/sandbox_context.cc#newcode27 webkit/browser/fileapi/sandbox_context.cc:27: const char kDisableUsageTracking[] = "disable-file-system-usage-tracking"; ...
7 years, 4 months ago (2013-07-31 07:52:08 UTC) #7
tzik
lgtm
7 years, 4 months ago (2013-08-01 03:53:59 UTC) #8
nhiroki
TBRing jochen@ for content/content_tests.gypi (adding just one file)
7 years, 4 months ago (2013-08-01 04:08:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/21116008/83001
7 years, 4 months ago (2013-08-01 04:29:20 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=154972
7 years, 4 months ago (2013-08-01 06:24:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/21116008/83001
7 years, 4 months ago (2013-08-01 06:25:50 UTC) #12
commit-bot: I haz the power
Change committed as 214977
7 years, 4 months ago (2013-08-01 06:29:54 UTC) #13
jochen (gone - plz use gerrit)
7 years, 4 months ago (2013-08-01 06:40:31 UTC) #14
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698