Add looking up/caching of redirect lists to find the best thumbnail.
Added timer to clean unpopular thumbnails from the cache/disk every hour.
Still need to implement removal of blacklisted urls.
Review URL: http://codereview.chromium.org/126237
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19189 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index c76b2f5..99643a1 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -964,7 +964,7 @@
ThumbnailStore* ProfileImpl::GetThumbnailStore() {
if (!thumbnail_store_.get()) {
thumbnail_store_ = new ThumbnailStore;
- thumbnail_store_->Init(GetPath().AppendASCII("thumbnailstore\\"));
+ thumbnail_store_->Init(GetPath().AppendASCII("thumbnailstore"), this);
}
return thumbnail_store_.get();
}