Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: chrome/browser/visitedlink_perftest.cc

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | chrome/browser/visitedlink_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/visitedlink_perftest.cc
===================================================================
--- chrome/browser/visitedlink_perftest.cc (revision 30650)
+++ chrome/browser/visitedlink_perftest.cc (working copy)
@@ -90,7 +90,7 @@
// 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 @@
{
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 @@
{
PerfTimer cold_timer;
- VisitedLinkMaster master(NULL,
- DummyVisitedLinkEventListener::GetInstance(),
+ VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
NULL,
true,
FilePath(db_name_),
@@ -177,8 +176,7 @@
{
PerfTimer hot_timer;
- VisitedLinkMaster master(NULL,
- DummyVisitedLinkEventListener::GetInstance(),
+ VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
NULL,
true,
FilePath(db_name_),
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | chrome/browser/visitedlink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698