summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_perftest.cc
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:08:39 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 19:08:39 +0000
commitc2c998ce396ec7fd77d8e1277afb3f029f859341 (patch)
tree493fc8e08610c67c72ce2df6d0f1ddefcf53974d /chrome/browser/visitedlink_perftest.cc
parentbd05da2be472b05c290261fbf99a4a3673982a7f (diff)
downloadchromium_src-c2c998ce396ec7fd77d8e1277afb3f029f859341.zip
chromium_src-c2c998ce396ec7fd77d8e1277afb3f029f859341.tar.gz
chromium_src-c2c998ce396ec7fd77d8e1277afb3f029f859341.tar.bz2
Roll forward 8722,8721
Review URL: http://codereview.chromium.org/19028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_perftest.cc')
-rw-r--r--chrome/browser/visitedlink_perftest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/visitedlink_perftest.cc b/chrome/browser/visitedlink_perftest.cc
index fc412d4..8184824 100644
--- a/chrome/browser/visitedlink_perftest.cc
+++ b/chrome/browser/visitedlink_perftest.cc
@@ -81,7 +81,7 @@ class VisitedLink : public testing::Test {
TEST_F(VisitedLink, TestAddAndQuery) {
// init
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true,
- db_name_, 0);
+ FilePath(db_name_), 0);
ASSERT_TRUE(master.Init());
PerfTimeLogger timer("Visited_link_add_and_query");
@@ -112,7 +112,7 @@ TEST_F(VisitedLink, TestLoad) {
PerfTimeLogger table_initialization_timer("Table_initialization");
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true,
- db_name_, 0);
+ FilePath(db_name_), 0);
// time init with empty table
PerfTimeLogger initTimer("Empty_visited_link_init");
@@ -152,7 +152,7 @@ TEST_F(VisitedLink, TestLoad) {
PerfTimer cold_timer;
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true,
- db_name_, 0);
+ FilePath(db_name_), 0);
bool success = master.Init();
TimeDelta elapsed = cold_timer.Elapsed();
ASSERT_TRUE(success);
@@ -165,7 +165,7 @@ TEST_F(VisitedLink, TestLoad) {
PerfTimer hot_timer;
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true,
- db_name_, 0);
+ FilePath(db_name_), 0);
bool success = master.Init();
TimeDelta elapsed = hot_timer.Elapsed();
ASSERT_TRUE(success);