Lines Matching refs:id2
207 FaviconID id2 = db.AddFavicon(url, FAVICON);
208 db.SetFavicon(id2, favicon, time);
209 EXPECT_TRUE(0 < db.AddIconMapping(url, id2));
210 ASSERT_NE(id, id2);
239 FaviconID id2 = db.AddFavicon(url, FAVICON);
240 EXPECT_NE(id1, id2);
241 db.SetFavicon(id2, favicon, time);
242 EXPECT_TRUE(0 < db.AddIconMapping(url, id2));
248 EXPECT_TRUE(icon_mapping[0].icon_id == id1 && icon_mapping[1].icon_id == id2);
340 FaviconID id2 = db.AddFavicon(url, TOUCH_ICON);
341 db.SetFavicon(id2, favicon2, time);
342 EXPECT_NE(0, db.AddIconMapping(url, id2));
348 EXPECT_EQ(id2, icon_mapping.front().icon_id);
381 FaviconID id2 = db.AddFavicon(GURL("http://www.google.com/icon"), TOUCH_ICON);
382 EXPECT_NE(id2, 0);
384 db.SetFavicon(id2, favicon, time);
395 EXPECT_TRUE(db.AddIconMapping(page_url, id2));
398 EXPECT_TRUE(db.HasMappingFor(id2));
404 EXPECT_FALSE(db.HasMappingFor(id2));