WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
31440
Add Chromium's DatabaseTracker implementation to WebKit
https://bugs.webkit.org/show_bug.cgi?id=31440
Summary
Add Chromium's DatabaseTracker implementation to WebKit
Dumitru Daniliuc
Reported
2009-11-12 14:44:22 PST
Add Chromium's DatabaseTracker implementation.
Attachments
patch
(15.85 KB, patch)
2009-11-12 14:57 PST
,
Dumitru Daniliuc
dumi
: commit-queue-
Details
Formatted Diff
Diff
patch
(15.22 KB, patch)
2009-11-12 22:13 PST
,
Dumitru Daniliuc
dglazkov
: review+
dumi
: commit-queue-
Details
Formatted Diff
Diff
patch
(15.54 KB, patch)
2009-11-13 11:43 PST
,
Dumitru Daniliuc
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dumitru Daniliuc
Comment 1
2009-11-12 14:57:38 PST
Created
attachment 43103
[details]
patch Somebody from Apple (Brady, Anders?) should REALLY take a look at the changes to DatabaseTracker.h. Chromium doesn't need a lot of things declared in DatabaseTracker.h, so I #ifdef'd them out.
Michael Nordman
Comment 2
2009-11-12 17:39:26 PST
I would prefer to maintain the symmetry between these two method names... class QuotaTracker void getDatabaseSizeAndSpaceAvailableToOrigin( const String& originIdentifier, const String& databaseName, unsigned long long* databaseSize, unsigned long long* spaceAvailable); void updateDatabaseSizeAndSpaceAvailableToOrigin( const String& originIdentifier, const String& databaseName, unsigned long long databaseSize, unsigned long long spaceAvailable); ... otherwise lgtm
Dumitru Daniliuc
Comment 3
2009-11-12 22:13:14 PST
Created
attachment 43133
[details]
patch Addressed Michael's comment regarding naming inconsistency in QuotaTracker.{h|cpp}.
Dimitri Glazkov (Google)
Comment 4
2009-11-13 09:46:54 PST
Comment on
attachment 43133
[details]
patch I don't like how DatabaseTracker is so fragmented by the ifdefs. It's fine for now, but ideally this really needs to be abstracted by purpose and the lines of implementation drawn along that. Can you file a bug on this?
Dumitru Daniliuc
Comment 5
2009-11-13 11:43:22 PST
Created
attachment 43175
[details]
patch Commented out DatabaseTrackerChromium::removeOpenDatabase(). Its current implementation is causing some subtle problems when running layout tests in test_shell, and we don't even use this information yet anyway.
Dumitru Daniliuc
Comment 6
2009-11-13 11:47:21 PST
(In reply to
comment #4
)
> (From update of
attachment 43133
[details]
) > I don't like how DatabaseTracker is so fragmented by the ifdefs. It's fine for > now, but ideally this really needs to be abstracted by purpose and the lines of > implementation drawn along that. Can you file a bug on this?
Done. Filed
bug 31482
.
Dumitru Daniliuc
Comment 7
2009-11-13 12:25:42 PST
Landed as
r50961
.
Eric Seidel (no email)
Comment 8
2009-11-13 13:12:19 PST
Comment on
attachment 43175
[details]
patch clearing r=? since it looks like this was landed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug