Home | History | Annotate | Download | only in history

Lines Matching refs:FAVICON

217   GURL favicon_url1("http://www.google.com/favicon.ico");
218 GURL favicon_url2("http://news.google.com/favicon.ico");
220 FAVICON);
222 FAVICON);
323 // We should have a favicon for the first URL only. We look them up by favicon
326 GetFaviconIDForFaviconURL(favicon_url1, FAVICON, NULL);
329 GetFaviconIDForFaviconURL(favicon_url2, FAVICON, NULL);
330 EXPECT_FALSE(out_favicon2) << "Favicon not deleted";
332 // The remaining URL should still reference the same favicon, even if its
334 EXPECT_EQ(out_favicon1, GetFavicon(outrow1.url(), FAVICON));
350 GURL favicon_url1("http://www.google.com/favicon.ico");
351 GURL favicon_url2("http://news.google.com/favicon.ico");
353 FAVICON);
355 FAVICON);
400 // The favicon should still be valid.
403 FAVICON,
416 // And the favicon should be deleted.
419 FAVICON,
438 // The favicon should still be valid.
441 FAVICON,
522 // Setup test data - two Urls in the history, one with favicon assigned and
524 GURL favicon_url1("http://www.google.com/favicon.ico");
526 FAVICON);
546 EXPECT_FALSE(GetFavicon(row1.url(), FAVICON) == 0);
547 EXPECT_TRUE(GetFavicon(row2.url(), FAVICON) == 0);
549 // Now provide one imported favicon for both URLs already in the registry.
550 // The new favicon should only be used with the URL that doesn't already have
551 // a favicon.
553 history::ImportedFaviconUsage favicon;
554 favicon.favicon_url = GURL("http://news.google.com/favicon.ico");
555 favicon.png_data.push_back('2');
556 favicon.urls.insert(row1.url());
557 favicon.urls.insert(row2.url());
558 favicons.push_back(favicon);
562 EXPECT_FALSE(GetFavicon(row1.url(), FAVICON) == 0);
563 EXPECT_FALSE(GetFavicon(row2.url(), FAVICON) == 0);
564 EXPECT_FALSE(GetFavicon(row1.url(), FAVICON) ==
565 GetFavicon(row2.url(), FAVICON));
567 // A URL should not be added to history (to store favicon), if
571 favicon.favicon_url = GURL("http://mail.google.com/favicon.ico");
572 favicon.png_data.push_back('3');
573 favicon.urls.insert(url3);
574 favicons.push_back(favicon);
848 // Add a favicon
850 url1, icon_url, RefCountedBytes::TakeVector(&data), FAVICON);
852 url1, FAVICON, NULL));
854 url2, FAVICON, NULL));
864 url1, FAVICON, NULL));
875 url1, FAVICON, NULL));
887 url1, FAVICON, NULL));
892 // Add a favicon
895 url1, icon_url2, RefCountedBytes::TakeVector(&data), FAVICON);
897 icon_url2, FAVICON, NULL);
915 url, icon_url, RefCountedBytes::TakeVector(&data), FAVICON);
917 icon_url, FAVICON, NULL);
922 url, icon_id, FAVICON, &replaced));