Home
last modified time | relevance | path

Searched refs:icon_mapping (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/history/
Dthumbnail_database_unittest.cc154 std::vector<IconMapping> icon_mapping; in TEST_F() local
155 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); in TEST_F()
156 EXPECT_EQ(1u, icon_mapping.size()); in TEST_F()
157 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
158 EXPECT_EQ(id, icon_mapping.front().icon_id); in TEST_F()
175 std::vector<IconMapping> icon_mapping; in TEST_F() local
176 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); in TEST_F()
177 ASSERT_EQ(1u, icon_mapping.size()); in TEST_F()
178 EXPECT_EQ(url, icon_mapping.front().page_url); in TEST_F()
179 EXPECT_EQ(id, icon_mapping.front().icon_id); in TEST_F()
[all …]
Dthumbnail_database.cc32 history::IconMapping* icon_mapping) { in FillIconMapping() argument
33 icon_mapping->mapping_id = statement.ColumnInt64(0); in FillIconMapping()
34 icon_mapping->icon_id = statement.ColumnInt64(1); in FillIconMapping()
35 icon_mapping->icon_type = in FillIconMapping()
37 icon_mapping->page_url = page_url; in FillIconMapping()
474 IconMapping* icon_mapping) { in GetIconMappingForPageURL() argument
482 if (icon_mapping != NULL) in GetIconMappingForPageURL()
483 *icon_mapping = *m; in GetIconMappingForPageURL()
512 IconMapping icon_mapping; in GetIconMappingsForPageURL() local
513 FillIconMapping(statement, page_url, &icon_mapping); in GetIconMappingsForPageURL()
[all …]
Durl_database_unittest.cc263 IconMapping icon_mapping; in TEST_F() local
264 ASSERT_TRUE(e.GetNextIconMapping(&icon_mapping)); in TEST_F()
265 ASSERT_EQ(url1, icon_mapping.page_url); in TEST_F()
266 ASSERT_EQ(icon_id, icon_mapping.icon_id); in TEST_F()
267 ASSERT_FALSE(e.GetNextIconMapping(&icon_mapping)); in TEST_F()
Dhistory_backend_unittest.cc134 IconMapping icon_mapping; in GetFavicon() local
136 &icon_mapping)) in GetFavicon()
137 return icon_mapping.icon_id; in GetFavicon()
899 std::vector<IconMapping> icon_mapping; in TEST_F() local
901 url1, &icon_mapping)); in TEST_F()
903 EXPECT_TRUE(icon_mapping.size() > 1); in TEST_F()
904 EXPECT_EQ(icon_id, icon_mapping[1].icon_id); in TEST_F()
925 std::vector<IconMapping> icon_mapping; in TEST_F() local
927 url, &icon_mapping)); in TEST_F()
928 EXPECT_EQ(1u, icon_mapping.size()); in TEST_F()
Dthumbnail_database.h140 IconMapping* icon_mapping);
Dexpire_history_backend_unittest.cc325 IconMapping icon_mapping; in GetFavicon() local
326 thumb_db_->GetIconMappingForPageURL(page_url, icon_type, &icon_mapping); in GetFavicon()
327 return icon_mapping.icon_id; in GetFavicon()