Home | History | Annotate | Download | only in visitedlink

Lines Matching refs:master

50 void CheckVisited(VisitedLinkMaster& master, const char* prefix,
53 master.IsVisited(TestURL(prefix, i));
56 // Fills that master's table with URLs starting with the given prefix and
58 void FillTable(VisitedLinkMaster& master, const char* prefix,
61 master.AddURL(TestURL(prefix, i));
84 VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
86 ASSERT_TRUE(master.Init());
91 CheckVisited(master, added_prefix, 0, add_count);
95 FillTable(master, added_prefix, 0, half_size);
99 CheckVisited(master, added_prefix, 0, add_count);
102 FillTable(master, added_prefix, half_size, add_count);
105 CheckVisited(master, added_prefix, 0, add_count);
106 CheckVisited(master, unadded_prefix, 0, add_count);
115 VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
120 bool success = master.Init();
128 FillTable(master, added_prefix, 0, load_test_add_count);
132 master.RewriteFile();
133 // TODO(maruel): Without calling FlushFileBuffers(master.file_); you don't
153 VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
158 bool success = master.Init();
169 VisitedLinkMaster master(DummyVisitedLinkEventListener::GetInstance(),
174 bool success = master.Init();