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

Issue 14265022: [Quota][FileAPI] Add quota policy to FileSystemOperationContext (Closed)

Created:
7 years, 8 months ago by tzik
Modified:
7 years, 8 months ago
Reviewers:
kinuko
CC:
chromium-reviews, tzik+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, kinuko+watch, stevenjb+watch_chromium.org, kinaba
Visibility:
Public.

Description

[Quota][FileAPI] Add quota policy to FileSystemOperationContext BUG=220029 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196722

Patch Set 1 #

Patch Set 2 : rebase on master #

Patch Set 3 : revert unrelated part #

Patch Set 4 : more revert #

Patch Set 5 : buildfix #

Patch Set 6 : drop .gitmodule change #

Total comments: 2

Patch Set 7 : drop chromeos change #

Patch Set 8 : drop unused #include #

Total comments: 2

Patch Set 9 : move to SandboxMountPointProvider #

Total comments: 2

Patch Set 10 : drop SpecialStoragePolicy #

Patch Set 11 : Re-add special storage policy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -24 lines) Patch
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 5 6 3 chunks +16 lines, -14 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 6 7 8 10 1 chunk +2 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/fileapi/local_file_system_operation.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.h View 1 2 3 4 5 6 7 8 10 4 chunks +6 lines, -1 line 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 4 5 6 7 8 10 3 chunks +11 lines, -1 line 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider_unittest.cc View 1 2 3 4 5 6 7 8 10 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tzik
PTL. This is needed to avoid race on getting quota policy in following patch.
7 years, 8 months ago (2013-04-26 06:19:44 UTC) #1
kinuko
https://codereview.chromium.org/14265022/diff/32/webkit/fileapi/local_file_system_operation.cc File webkit/fileapi/local_file_system_operation.cc (right): https://codereview.chromium.org/14265022/diff/32/webkit/fileapi/local_file_system_operation.cc#newcode574 webkit/fileapi/local_file_system_operation.cc:574: operation_context()->set_quota_limit_type(quota::kQuotaLimitTypeUnlimited); Looks like this is the primary change you ...
7 years, 8 months ago (2013-04-26 06:44:21 UTC) #2
tzik
Moving Kinaba-san to CC, since I drop chromeos/ change. Updated! PTAL. https://codereview.chromium.org/14265022/diff/32/webkit/fileapi/local_file_system_operation.cc File webkit/fileapi/local_file_system_operation.cc (right): ...
7 years, 8 months ago (2013-04-26 06:55:11 UTC) #3
kinuko
Thanks for updating,
7 years, 8 months ago (2013-04-26 07:00:17 UTC) #4
kinuko
https://codereview.chromium.org/14265022/diff/10018/webkit/fileapi/local_file_system_operation.cc File webkit/fileapi/local_file_system_operation.cc (right): https://codereview.chromium.org/14265022/diff/10018/webkit/fileapi/local_file_system_operation.cc#newcode583 webkit/fileapi/local_file_system_operation.cc:583: } Can we do this in SandboxMountPointProvider::CreateFileSystemOperation() and make ...
7 years, 8 months ago (2013-04-26 07:00:24 UTC) #5
tzik
https://codereview.chromium.org/14265022/diff/10018/webkit/fileapi/local_file_system_operation.cc File webkit/fileapi/local_file_system_operation.cc (right): https://codereview.chromium.org/14265022/diff/10018/webkit/fileapi/local_file_system_operation.cc#newcode583 webkit/fileapi/local_file_system_operation.cc:583: } On 2013/04/26 07:00:25, kinuko wrote: > Can we ...
7 years, 8 months ago (2013-04-26 07:17:59 UTC) #6
kinuko
lgtm with one nit https://codereview.chromium.org/14265022/diff/5010/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): https://codereview.chromium.org/14265022/diff/5010/webkit/fileapi/sandbox_mount_point_provider.cc#newcode338 webkit/fileapi/sandbox_mount_point_provider.cc:338: if (special_storage_policy_ && nit: I ...
7 years, 8 months ago (2013-04-26 07:27:37 UTC) #7
tzik
https://codereview.chromium.org/14265022/diff/5010/webkit/fileapi/sandbox_mount_point_provider.cc File webkit/fileapi/sandbox_mount_point_provider.cc (right): https://codereview.chromium.org/14265022/diff/5010/webkit/fileapi/sandbox_mount_point_provider.cc#newcode338 webkit/fileapi/sandbox_mount_point_provider.cc:338: if (special_storage_policy_ && On 2013/04/26 07:27:37, kinuko wrote: > ...
7 years, 8 months ago (2013-04-26 07:36:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14265022/3011
7 years, 8 months ago (2013-04-26 07:36:36 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=35613
7 years, 8 months ago (2013-04-26 09:38:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14265022/8029
7 years, 8 months ago (2013-04-26 09:56:09 UTC) #11
commit-bot: I haz the power
7 years, 8 months ago (2013-04-26 13:51:21 UTC) #12
Message was sent while issue was closed.
Change committed as 196722

Powered by Google App Engine
This is Rietveld 408576698