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

Issue 61593002: Quota: Implement QuotaBackendImpl (Closed)

Created:
7 years, 1 month ago by nhiroki
Modified:
7 years, 1 month ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, tzik, bbudge
Visibility:
Public.

Description

Quota: Implement QuotaBackendImpl This introduces QuotaBackendImpl working as bridge among FileSystemUsageCache, QuotaManager and QuotaReservationManager. The backend will be created by FileSystemContext and retained by QuotaReservationManager. BUG=303443 TEST=content_unittests --gtest_filter=QuotaBackendImplTest.* TEST=content_unittests --gtest_filter=QuotaReservationManagerTest.* TBR=jochen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233815

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : fix build and test #

Total comments: 13

Patch Set 4 : review fix #

Patch Set 5 : build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+541 lines, -54 lines) Patch
M content/content_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/browser/fileapi/obfuscated_file_util.h View 1 chunk +1 line, -0 lines 0 comments Download
A webkit/browser/fileapi/quota/quota_backend_impl.h View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
A webkit/browser/fileapi/quota/quota_backend_impl.cc View 1 2 3 1 chunk +148 lines, -0 lines 0 comments Download
A webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc View 1 2 3 4 1 chunk +243 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_buffer.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_buffer.cc View 1 2 3 3 chunks +5 lines, -8 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_manager.h View 1 2 3 5 chunks +16 lines, -18 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_manager.cc View 1 2 3 2 chunks +9 lines, -9 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc View 1 2 3 5 chunks +8 lines, -15 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/storage_browser.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
nhiroki
Hi, can you review this? Thanks!
7 years, 1 month ago (2013-11-07 06:51:38 UTC) #1
tzik
Looks good. https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc File webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc (right): https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc#newcode18 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc:18: const char kOrigin[] = "example.com"; this should ...
7 years, 1 month ago (2013-11-07 07:34:12 UTC) #2
kinuko
Thanks for working on this. Haven't looked at the test code yet https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl.cc File webkit/browser/fileapi/quota/quota_backend_impl.cc ...
7 years, 1 month ago (2013-11-07 10:10:08 UTC) #3
tzik
https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl.cc File webkit/browser/fileapi/quota/quota_backend_impl.cc (right): https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl.cc#newcode166 webkit/browser/fileapi/quota/quota_backend_impl.cc:166: : base::PLATFORM_FILE_ERROR_FAILED; On 2013/11/07 10:10:09, kinuko wrote: > The ...
7 years, 1 month ago (2013-11-07 11:45:14 UTC) #4
nhiroki
Updated, please take another look. Thanks! https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl.cc File webkit/browser/fileapi/quota/quota_backend_impl.cc (right): https://codereview.chromium.org/61593002/diff/190001/webkit/browser/fileapi/quota/quota_backend_impl.cc#newcode133 webkit/browser/fileapi/quota/quota_backend_impl.cc:133: callback.Run(base::PLATFORM_FILE_ERROR_NO_SPACE); On 2013/11/07 ...
7 years, 1 month ago (2013-11-08 00:12:05 UTC) #5
tzik
lgtm
7 years, 1 month ago (2013-11-08 03:43:20 UTC) #6
kinuko
lgtm
7 years, 1 month ago (2013-11-08 04:36:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/61593002/520001
7 years, 1 month ago (2013-11-08 04:39:51 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=35178
7 years, 1 month ago (2013-11-08 05:04:35 UTC) #9
nhiroki
TBRing to jochen@ for "content_tests.gypi" since this adds just one test file.
7 years, 1 month ago (2013-11-08 05:08:37 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/61593002/520001
7 years, 1 month ago (2013-11-08 05:10:01 UTC) #11
commit-bot: I haz the power
7 years, 1 month ago (2013-11-08 07:42:34 UTC) #12
Message was sent while issue was closed.
Change committed as 233815

Powered by Google App Engine
This is Rietveld 408576698