summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authornshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 18:37:49 +0000
committernshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-09 18:37:49 +0000
commitf395404b3b46a8dcc316bd57035dd59539151613 (patch)
treea8fe655c87ae6eaa791a7d8df8da53ddf1692183 /chrome/browser/profile.cc
parent689fa1c501df5063de1f9d1272d58cd8efe5ce1d (diff)
downloadchromium_src-f395404b3b46a8dcc316bd57035dd59539151613.zip
chromium_src-f395404b3b46a8dcc316bd57035dd59539151613.tar.gz
chromium_src-f395404b3b46a8dcc316bd57035dd59539151613.tar.bz2
1. Create and use the TopSites database file.
2. Timed updates of the database based on the number of sites changed. BUG=None TEST=TopSitesTest Review URL: http://codereview.chromium.org/2746002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49294 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 b2bdf7f..31d794c 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -1424,7 +1424,7 @@ ThumbnailStore* ProfileImpl::GetThumbnailStore() {
history::TopSites* ProfileImpl::GetTopSites() {
if (!top_sites_.get()) {
top_sites_ = new history::TopSites(this);
- top_sites_->Init();
+ top_sites_->Init(GetPath().Append(chrome::kTopSitesFilename));
}
return top_sites_;
}