Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index a99e29a14e2fb9f5d9c64a653b8c017abcd60898..8b4ce42be8a12e0e6ba06bbc3289d6a4120bf9b0 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -38,7 +38,6 @@ |
#include "chrome/browser/download/chrome_download_manager_delegate.h" |
#include "chrome/browser/download/download_service.h" |
#include "chrome/browser/download/download_service_factory.h" |
-#include "chrome/browser/history/top_sites.h" |
#include "chrome/browser/net/net_pref_observer.h" |
#include "chrome/browser/net/predictor.h" |
#include "chrome/browser/net/pref_proxy_config_tracker.h" |
@@ -744,9 +743,6 @@ ProfileImpl::~ProfileImpl() { |
BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices( |
this); |
- if (top_sites_.get()) |
- top_sites_->Shutdown(); |
- |
if (pref_proxy_config_tracker_) |
pref_proxy_config_tracker_->DetachFromPrefService(); |
@@ -1089,18 +1085,6 @@ Time ProfileImpl::GetStartTime() const { |
return start_time_; |
} |
-history::TopSites* ProfileImpl::GetTopSites() { |
- if (!top_sites_.get()) { |
- top_sites_ = history::TopSites::Create( |
- this, GetPath().Append(chrome::kTopSitesFilename)); |
- } |
- return top_sites_.get(); |
-} |
- |
-history::TopSites* ProfileImpl::GetTopSitesWithoutCreating() { |
- return top_sites_.get(); |
-} |
- |
#if defined(ENABLE_SESSION_SERVICE) |
void ProfileImpl::StopCreateSessionServiceTimer() { |
create_session_service_timer_.Stop(); |