diff options
author | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 22:37:42 +0000 |
---|---|---|
committer | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-28 22:37:42 +0000 |
commit | 6677024d9674022969241eb0d8e7584871e13eae (patch) | |
tree | a53c5a907f379266c4c09bfeb617d46500cc7e94 /chrome/browser/profile.cc | |
parent | f4ef861ba773e66d1c6e7e023a38db32afdd531d (diff) | |
download | chromium_src-6677024d9674022969241eb0d8e7584871e13eae.zip chromium_src-6677024d9674022969241eb0d8e7584871e13eae.tar.gz chromium_src-6677024d9674022969241eb0d8e7584871e13eae.tar.bz2 |
Remove tips from NTP.
BUG= 50072
TEST= no tips on NTP.
Review URL: http://codereview.chromium.org/3033032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index af54776..98ad2863 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -639,10 +639,6 @@ class OffTheRecordProfileImpl : public Profile, NOTREACHED(); } - virtual void InitWebResources() { - NOTREACHED(); - } - virtual NTPResourceCache* GetNTPResourceCache() { // Just return the real profile resource cache. return profile_->GetNTPResourceCache(); @@ -896,14 +892,6 @@ void ProfileImpl::InitExtensions() { } } -void ProfileImpl::InitWebResources() { - if (web_resource_service_) - return; // Already initialized. - - web_resource_service_ = new WebResourceService(this); - web_resource_service_->StartAfterDelay(); -} - NTPResourceCache* ProfileImpl::GetNTPResourceCache() { if (!ntp_resource_cache_.get()) ntp_resource_cache_.reset(new NTPResourceCache(this)); |