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

Issue 334039: Adding Chromium's database tracker. (Closed)

Created:
11 years, 1 month ago by dumi
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Adding Chromium's database tracker. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30747

Patch Set 1 #

Patch Set 2 : Minor change that will hopefully make gcc happy. #

Patch Set 3 : Replacing base::hash_{map|set} with std::{map|set}, to avoid providing a hash function for Listener. #

Patch Set 4 : Fixing deps. #

Patch Set 5 : All Michael's comments should be addressed, minus database_tracker_unittest. #

Total comments: 48

Patch Set 6 : Minor change to databases_table_unittest that will hopefully make gcc happy. #

Patch Set 7 : Addressed Michael's comments. #

Patch Set 8 : Do not store the name of the DB files in the tracker DB. #

Total comments: 16

Patch Set 9 : Addressed Michael's comments. #

Total comments: 14

Patch Set 10 : '' #

Total comments: 8

Patch Set 11 : database_tracker_unittest.cc + minor signature changes to a couple of DatabaseTracker methods #

Total comments: 4

Patch Set 12 : Addressed Michael's latest comments. #

Total comments: 18

Patch Set 13 : '' #

Total comments: 4

Patch Set 14 : DatabaseSizeChanged --> OnDatabaseSizeChanged #

Patch Set 15 : '' #

Total comments: 6

Patch Set 16 : '' #

Total comments: 2

Patch Set 17 : Final version? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+813 lines, -0 lines) Patch
M webkit/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A webkit/database/database_tracker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +123 lines, -0 lines 0 comments Download
A webkit/database/database_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +211 lines, -0 lines 0 comments Download
A webkit/database/database_tracker_unittest.cc View 11 12 13 14 15 16 1 chunk +175 lines, -0 lines 0 comments Download
A webkit/database/databases_table.h View 5 6 7 8 9 1 chunk +47 lines, -0 lines 0 comments Download
A webkit/database/databases_table.cc View 5 6 7 8 9 1 chunk +122 lines, -0 lines 0 comments Download
A webkit/database/databases_table_unittest.cc View 5 6 7 8 9 10 11 12 1 chunk +126 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gyp View 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/webkit.gyp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
michaeln
before looking real close... what about these things that were mentioned last time around? 1) ...
11 years, 1 month ago (2009-10-27 19:05:19 UTC) #1
michaeln
hey... its starting to shape up http://codereview.chromium.org/334039/diff/7001/7003 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/7001/7003#newcode36 Line 36: db_->Close(); as ...
11 years, 1 month ago (2009-10-28 18:23:05 UTC) #2
dumi
http://codereview.chromium.org/334039/diff/7001/7003 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/7001/7003#newcode36 Line 36: db_->Close(); On 2009/10/28 18:23:05, michaeln wrote: > as ...
11 years, 1 month ago (2009-10-28 23:54:00 UTC) #3
michaeln
http://codereview.chromium.org/334039/diff/7001/7003 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/7001/7003#newcode169 Line 169: DatabaseTracker::CachedOriginInfo& DatabaseTracker::GetCachedOriginInfo( "i don't think there's any "error ...
11 years, 1 month ago (2009-10-29 00:32:27 UTC) #4
dumi
http://codereview.chromium.org/334039/diff/7001/7003 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/7001/7003#newcode169 Line 169: DatabaseTracker::CachedOriginInfo& DatabaseTracker::GetCachedOriginInfo( On 2009/10/29 00:32:27, michaeln wrote: > ...
11 years, 1 month ago (2009-10-29 01:34:01 UTC) #5
michaeln
Are you still planning on adding 'tracker' unittests? > install a custom error handler for ...
11 years, 1 month ago (2009-10-29 01:59:01 UTC) #6
michaeln
Please take a look at the lint errors too.
11 years, 1 month ago (2009-10-29 19:15:26 UTC) #7
dumi
Definitely planning to add a unittest for database_tracker; hopefully it will happen today... http://codereview.chromium.org/334039/diff/10007/10009 File ...
11 years, 1 month ago (2009-10-29 20:19:11 UTC) #8
michaeln
getting pretty close http://codereview.chromium.org/334039/diff/11003/11005 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/11003/11005#newcode142 Line 142: DatabaseTracker::CachedOriginInfo* DatabaseTracker::GetCachedOriginInfo( This method could ...
11 years, 1 month ago (2009-10-30 01:08:25 UTC) #9
dumi
http://codereview.chromium.org/334039/diff/11003/11005 File webkit/database/database_tracker.cc (right): http://codereview.chromium.org/334039/diff/11003/11005#newcode142 Line 142: DatabaseTracker::CachedOriginInfo* DatabaseTracker::GetCachedOriginInfo( On 2009/10/30 01:08:25, michaeln wrote: > ...
11 years, 1 month ago (2009-10-30 01:41:16 UTC) #10
michaeln
http://codereview.chromium.org/334039/diff/16010/11024 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/16010/11024#newcode15 Line 15: class TestObserver : public DatabaseTracker::Observer { would be ...
11 years, 1 month ago (2009-10-30 04:36:56 UTC) #11
dumi
http://codereview.chromium.org/334039/diff/16010/11024 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/16010/11024#newcode15 Line 15: class TestObserver : public DatabaseTracker::Observer { On 2009/10/30 ...
11 years, 1 month ago (2009-10-30 22:39:25 UTC) #12
michaeln
http://codereview.chromium.org/334039/diff/8019/17004 File webkit/database/database_tracker.h (right): http://codereview.chromium.org/334039/diff/8019/17004#newcode50 Line 50: virtual ~DatabaseTracker(); shouldn't need to be virtual http://codereview.chromium.org/334039/diff/8019/17004#newcode73 ...
11 years, 1 month ago (2009-10-30 23:35:38 UTC) #13
dumi
http://codereview.chromium.org/334039/diff/8019/17004 File webkit/database/database_tracker.h (right): http://codereview.chromium.org/334039/diff/8019/17004#newcode50 Line 50: virtual ~DatabaseTracker(); On 2009/10/30 23:35:38, michaeln wrote: > ...
11 years, 1 month ago (2009-10-30 23:39:00 UTC) #14
michaeln
http://codereview.chromium.org/334039/diff/11030/16021 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/11030/16021#newcode87 Line 87: const string16 origin3 = ASCIIToUTF16("origin1"); // same as ...
11 years, 1 month ago (2009-10-31 00:08:46 UTC) #15
dumi
http://codereview.chromium.org/334039/diff/11030/16021 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/11030/16021#newcode87 Line 87: const string16 origin3 = ASCIIToUTF16("origin1"); // same as ...
11 years, 1 month ago (2009-10-31 00:25:02 UTC) #16
michaeln
modulo minor style issue, LGTM http://codereview.chromium.org/334039/diff/11030/16021 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/11030/16021#newcode87 Line 87: const string16 origin3 ...
11 years, 1 month ago (2009-10-31 00:52:01 UTC) #17
dumi
http://codereview.chromium.org/334039/diff/11030/16021 File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/334039/diff/11030/16021#newcode87 Line 87: const string16 origin3 = ASCIIToUTF16("origin1"); // same as ...
11 years, 1 month ago (2009-10-31 01:06:35 UTC) #18
michaeln
11 years, 1 month ago (2009-11-02 17:32:07 UTC) #19
LGTM

Powered by Google App Engine
This is Rietveld 408576698