summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 21:15:37 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 21:15:37 +0000
commit4038e6e270171286189b2cd54fcb45a7e9c08222 (patch)
tree6d81b87f94cc47483dd372a689d7bfa2091f2aba /chrome/test
parent992f8306de28201f9c5253ceb3f7b1fa6e400cd7 (diff)
downloadchromium_src-4038e6e270171286189b2cd54fcb45a7e9c08222.zip
chromium_src-4038e6e270171286189b2cd54fcb45a7e9c08222.tar.gz
chromium_src-4038e6e270171286189b2cd54fcb45a7e9c08222.tar.bz2
Preload the visited link db on the file thread if the file exists.
Otherwise, just load like normal on the UI thread. BUG=24163 Review URL: http://codereview.chromium.org/502005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/testing_profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index 0e6f16d..7e01ff0 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -77,6 +77,7 @@ class TestingProfile : public Profile {
virtual Profile* GetOriginalProfile() { return this; }
virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
virtual VisitedLinkMaster* GetVisitedLinkMaster() { return NULL; }
+ virtual void PreloadVisitedLinkMaster() {}
virtual ExtensionsService* GetExtensionsService() { return NULL; }
virtual UserScriptMaster* GetUserScriptMaster() { return NULL; }
virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() {