summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authormeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 22:38:58 +0000
committermeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-24 22:38:58 +0000
commitf2458dc291eb8c593e5d9e56c293bb0c9507a2ae (patch)
tree158c04d0cb5ccb40eca5783dd8a1cdd81f57fb7f /chrome/browser/profile.cc
parentc3ee6f79c78d6fcb470262afc140aad614b8624c (diff)
downloadchromium_src-f2458dc291eb8c593e5d9e56c293bb0c9507a2ae.zip
chromium_src-f2458dc291eb8c593e5d9e56c293bb0c9507a2ae.tar.gz
chromium_src-f2458dc291eb8c593e5d9e56c293bb0c9507a2ae.tar.bz2
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
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
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 @@ TabRestoreService* ProfileImpl::GetTabRestoreService() {
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();
}