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

Issue 7001014: More Quota WebSQLDatabase integration. (Closed)

Created:
9 years, 7 months ago by michaeln
Modified:
9 years, 7 months ago
Reviewers:
kinuko
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

More Quota + WebSQLDatabase integration. * Notify the QuotaManager of accesses and modifications to the amount of storage utlized. * Still, the hard-coded 5MB limit is in place. BUG=61676 TEST=database_tracker_unittest.cc, database_connections_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85400

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : did_some_todos #

Total comments: 3

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -35 lines) Patch
M webkit/database/database_connections.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -2 lines 0 comments Download
M webkit/database/database_connections.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +33 lines, -3 lines 0 comments Download
M webkit/database/database_connections_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +57 lines, -2 lines 0 comments Download
M webkit/database/database_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +78 lines, -27 lines 0 comments Download
M webkit/database/database_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +180 lines, -0 lines 0 comments Download
M webkit/database/database_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/database/database_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/quota/quota_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
michaeln
I still want to write some tracker tests, but i think this should cover notifying ...
9 years, 7 months ago (2011-05-11 00:47:37 UTC) #1
kinuko
On 2011/05/11 00:47:37, michaeln wrote: > I still want to write some tracker tests, but ...
9 years, 7 months ago (2011-05-11 11:43:27 UTC) #2
michaeln
Before adding new tests to the tracker, i'd like to make the QMProxy more amendable ...
9 years, 7 months ago (2011-05-11 20:03:09 UTC) #3
kinuko
On Thu, May 12, 2011 at 5:03 AM, <michaeln@chromium.org> wrote: > Before adding new tests ...
9 years, 7 months ago (2011-05-11 20:12:53 UTC) #4
michaeln
added tests, please take a look
9 years, 7 months ago (2011-05-13 20:23:42 UTC) #5
kinuko
LGTM http://codereview.chromium.org/7001014/diff/8010/webkit/database/database_tracker_unittest.cc File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/7001014/diff/8010/webkit/database/database_tracker_unittest.cc#newcode93 webkit/database/database_tracker_unittest.cc:93: class TestQuotaManagerProxy : public quota::QuotaManagerProxy { Nicely done, ...
9 years, 7 months ago (2011-05-14 15:11:17 UTC) #6
michaeln
9 years, 7 months ago (2011-05-14 22:51:34 UTC) #7
Also added to the tests and fixed a bug found when doing so.

http://codereview.chromium.org/7001014/diff/8010/webkit/database/database_tra...
File webkit/database/database_tracker_unittest.cc (right):

http://codereview.chromium.org/7001014/diff/8010/webkit/database/database_tra...
webkit/database/database_tracker_unittest.cc:100: ~TestQuotaManagerProxy() {
On 2011/05/14 15:11:17, kinuko wrote:
> virtual?

Done.

Powered by Google App Engine
This is Rietveld 408576698