Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 24b5935a81292cc50c2469439deb35b2fdef2f98..9584cf99a86d695ac772ec917ebfc2e42135e5f1 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/chrome_net_log.h" |
#include "chrome/browser/net/net_pref_observer.h" |
#include "chrome/browser/net/predictor.h" |
@@ -822,9 +821,6 @@ ProfileImpl::~ProfileImpl() { |
BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices( |
this); |
- if (top_sites_.get()) |
- top_sites_->Shutdown(); |
- |
if (pref_proxy_config_tracker_) |
pref_proxy_config_tracker_->DetachFromPrefService(); |
@@ -1167,18 +1163,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(); |