Lines Matching defs:cache
153 ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_;
159 cache[GURL("http://first.url.com/")] =
167 cache[GURL("http://second.url.com/")] =
175 cache[GURL("http://third.url.com/")] =
182 cache[GURL("http://fourth.url.com/")] =
187 // 3 elements should be in the cache, the first, third, and fourth.
188 EXPECT_EQ(3U, cache.size());
189 EXPECT_TRUE(cache.find(GURL("http://first.url.com/")) != cache.end());
190 EXPECT_TRUE(cache.find(GURL("http://third.url.com/")) != cache.end());
191 EXPECT_TRUE(cache.find(GURL("http://fourth.url.com/")) != cache.end());
432 // Only the first url should be in the cache.