summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 08:01:44 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-12 08:01:44 +0000
commita6d0f18778b7f27a3a5cb2feac1039e4a8f4235c (patch)
tree79bbaf938bf3e7d98f9c8dcbebcd891f3237e4d2 /chrome/browser/profile.h
parent3bcea86de6bbab9ae23146b2aed08028ae800ecb (diff)
downloadchromium_src-a6d0f18778b7f27a3a5cb2feac1039e4a8f4235c.zip
chromium_src-a6d0f18778b7f27a3a5cb2feac1039e4a8f4235c.tar.gz
chromium_src-a6d0f18778b7f27a3a5cb2feac1039e4a8f4235c.tar.bz2
Revert "Take 2: Preload the visited link db on the file thread if"
This reverts commit r35991 due to a perf regression to New Tab Cold on Mac. TBR=thakis Review URL: http://codereview.chromium.org/545024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 95f76b0..1d15753 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -64,8 +64,8 @@ class ThemeProvider;
class ThumbnailStore;
class URLRequestContextGetter;
class UserScriptMaster;
-class VisitedLinkCreator;
class VisitedLinkMaster;
+class VisitedLinkEventListener;
class WebDataService;
class WebKitContext;
class WebResourceService;
@@ -148,10 +148,6 @@ class Profile {
// that this method is called.
virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0;
- // Loads the visited link master on the file thread. It's safe to call
- // GetVisitedLinkMaster without calling this in advance.
- virtual void PreloadVisitedLinkMaster() = 0;
-
// Retrieves a pointer to the ExtensionsService associated with this
// profile. The ExtensionsService is created at startup.
virtual ExtensionsService* GetExtensionsService() = 0;
@@ -410,7 +406,6 @@ class ProfileImpl : public Profile,
virtual Profile* GetOriginalProfile();
virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
- virtual void PreloadVisitedLinkMaster();
virtual UserScriptMaster* GetUserScriptMaster();
virtual SSLHostState* GetSSLHostState();
virtual net::TransportSecurityState* GetTransportSecurityState();
@@ -496,7 +491,8 @@ class ProfileImpl : public Profile,
FilePath path_;
FilePath base_cache_path_;
- scoped_refptr<VisitedLinkCreator> visited_link_creator_;
+ scoped_ptr<VisitedLinkEventListener> visited_link_event_listener_;
+ scoped_ptr<VisitedLinkMaster> visited_link_master_;
scoped_refptr<ExtensionsService> extensions_service_;
scoped_refptr<UserScriptMaster> user_script_master_;
scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;