diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 05:59:37 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-02 05:59:37 +0000 |
commit | 6fad26338ed6119903826156f307e20fe6657c31 (patch) | |
tree | 5c6baed35fce907a0cea47ed6091c941db8ebfd1 /chrome/browser/visitedlink_perftest.cc | |
parent | f75c8f13b967b01babc9454506e9d2ed00519e39 (diff) | |
download | chromium_src-6fad26338ed6119903826156f307e20fe6657c31.zip chromium_src-6fad26338ed6119903826156f307e20fe6657c31.tar.gz chromium_src-6fad26338ed6119903826156f307e20fe6657c31.tar.bz2 |
Third patch in getting rid of caching MessageLoop pointers and always using ChromeThread instead.
BUG=25354
Review URL: http://codereview.chromium.org/342068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_perftest.cc')
-rw-r--r-- | chrome/browser/visitedlink_perftest.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/visitedlink_perftest.cc b/chrome/browser/visitedlink_perftest.cc index b38a953..a21848d 100644 --- a/chrome/browser/visitedlink_perftest.cc +++ b/chrome/browser/visitedlink_perftest.cc @@ -90,7 +90,7 @@ class VisitedLink : public testing::Test { // useful to make another set of tests to test these things in isolation. TEST_F(VisitedLink, TestAddAndQuery) { // init - VisitedLinkMaster master(NULL, DummyVisitedLinkEventListener::GetInstance(), + VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(), NULL, true, FilePath(db_name_), 0); ASSERT_TRUE(master.Init()); @@ -121,7 +121,7 @@ TEST_F(VisitedLink, TestLoad) { { PerfTimeLogger table_initialization_timer("Table_initialization"); - VisitedLinkMaster master(NULL, DummyVisitedLinkEventListener::GetInstance(), + VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(), NULL, true, FilePath(db_name_), 0); // time init with empty table @@ -160,8 +160,7 @@ TEST_F(VisitedLink, TestLoad) { { PerfTimer cold_timer; - VisitedLinkMaster master(NULL, - DummyVisitedLinkEventListener::GetInstance(), + VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(), NULL, true, FilePath(db_name_), @@ -177,8 +176,7 @@ TEST_F(VisitedLink, TestLoad) { { PerfTimer hot_timer; - VisitedLinkMaster master(NULL, - DummyVisitedLinkEventListener::GetInstance(), + VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(), NULL, true, FilePath(db_name_), |