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

Issue 149223: Change ThumbnailStore to use sqlite instead of individual files. (Closed)

Created:
11 years, 5 months ago by meelapshah
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Change ThumbnailStore to use sqlite instead of individual files. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20097

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 2

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -268 lines) Patch
M chrome/browser/profile.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/thumbnail_store.h View 1 2 3 4 5 6 6 chunks +36 lines, -42 lines 0 comments Download
M chrome/browser/thumbnail_store.cc View 1 2 3 4 5 6 7 7 chunks +125 lines, -157 lines 0 comments Download
M chrome/browser/thumbnail_store_unittest.cc View 2 3 4 5 6 7 8 chunks +54 lines, -66 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
meelapshah
Updated unit test coming soon...
11 years, 5 months ago (2009-07-06 22:42:49 UTC) #1
brettw
Random comments. I'll check the sqlite stuff tomorrow morning. http://codereview.chromium.org/149223/diff/1014/31 File chrome/browser/profile.cc (right): http://codereview.chromium.org/149223/diff/1014/31#newcode1020 Line ...
11 years, 5 months ago (2009-07-07 02:31:08 UTC) #2
meelapshah
http://codereview.chromium.org/149223/diff/1014/31 File chrome/browser/profile.cc (right): http://codereview.chromium.org/149223/diff/1014/31#newcode1020 Line 1020: thumbnail_store_->Init(GetPath().AppendASCII("ThumbnailDB"), this); On 2009/07/07 02:31:08, brettw wrote: > ...
11 years, 5 months ago (2009-07-07 17:45:37 UTC) #3
brettw
You removed using the file thread. Sqlite is slow (probably moreso than even raw file ...
11 years, 5 months ago (2009-07-07 19:32:31 UTC) #4
meelapshah
On 2009/07/07 19:32:31, brettw wrote: > You removed using the file thread. Sqlite is slow ...
11 years, 5 months ago (2009-07-07 20:19:48 UTC) #5
brettw
LGTM, I have a suggestion for a follow-on patch I'll email you http://codereview.chromium.org/149223/diff/1029/1032 File chrome/browser/thumbnail_store.cc ...
11 years, 5 months ago (2009-07-07 20:42:41 UTC) #6
meelapshah
http://codereview.chromium.org/149223/diff/1029/1032 File chrome/browser/thumbnail_store.cc (right): http://codereview.chromium.org/149223/diff/1029/1032#newcode267 Line 267: statement->column_int64(4))); // Time taken On 2009/07/07 20:42:41, brettw ...
11 years, 5 months ago (2009-07-07 21:01:21 UTC) #7
meelapshah
11 years, 5 months ago (2009-07-07 22:40:10 UTC) #8
On 2009/07/07 21:01:21, meelapshah wrote:
> http://codereview.chromium.org/149223/diff/1029/1032
> File chrome/browser/thumbnail_store.cc (right):
> 
> http://codereview.chromium.org/149223/diff/1029/1032#newcode267
> Line 267: statement->column_int64(4)));  // Time taken
> On 2009/07/07 20:42:41, brettw wrote:
> > Can you use Time.To/FromInternalValue instead of TimeT for serialization?
> 
> Done.

committed in r20097.

Powered by Google App Engine
This is Rietveld 408576698