summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authornshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 17:19:02 +0000
committernshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 17:19:02 +0000
commit0e7d57fa87b02031db31444a22cba54b32405896 (patch)
tree375a9a54ee14ef2eb66317ec074c280450f652e1 /chrome/browser/profile.cc
parentf93d639888a72686e72f49e57fb4d42eab32cb04 (diff)
downloadchromium_src-0e7d57fa87b02031db31444a22cba54b32405896.zip
chromium_src-0e7d57fa87b02031db31444a22cba54b32405896.tar.gz
chromium_src-0e7d57fa87b02031db31444a22cba54b32405896.tar.bz2
Remove ThumbnailStore - replaced by TopSites.
BUG=none TEST=open New Tab page, see thumbnails. Same with chrome --top-sites. Review URL: http://codereview.chromium.org/2815045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 6bd2104..3189694 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -58,7 +58,6 @@
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/profile_sync_factory_impl.h"
#include "chrome/browser/tabs/pinned_tab_service.h"
-#include "chrome/browser/thumbnail_store.h"
#include "chrome/browser/user_style_sheet_watcher.h"
#include "chrome/browser/visitedlink_master.h"
#include "chrome/browser/visitedlink_event_listener.h"
@@ -623,10 +622,6 @@ class OffTheRecordProfileImpl : public Profile,
return webkit_context_.get();
}
- virtual ThumbnailStore* GetThumbnailStore() {
- return NULL;
- }
-
virtual history::TopSites* GetTopSites() {
return NULL;
}
@@ -938,12 +933,6 @@ ProfileImpl::~ProfileImpl() {
// The theme provider provides bitmaps to whoever wants them.
theme_provider_.reset();
- // The ThumbnailStore saves thumbnails used by the NTP. Call Shutdown to
- // save any new thumbnails to disk and release its reference to the
- // HistoryService.
- if (thumbnail_store_.get())
- thumbnail_store_->Shutdown();
-
// Remove pref observers.
PrefService* prefs = GetPrefs();
prefs->RemovePrefObserver(prefs::kSpellCheckDictionary, this);
@@ -1530,15 +1519,6 @@ TabRestoreService* ProfileImpl::GetTabRestoreService() {
return tab_restore_service_.get();
}
-ThumbnailStore* ProfileImpl::GetThumbnailStore() {
- if (!thumbnail_store_.get()) {
- thumbnail_store_ = new ThumbnailStore;
- thumbnail_store_->Init(
- GetPath().Append(chrome::kNewTabThumbnailsFilename), this);
- }
- return thumbnail_store_.get();
-}
-
history::TopSites* ProfileImpl::GetTopSites() {
if (!top_sites_.get()) {
top_sites_ = new history::TopSites(this);