Searched refs:icon_mapping (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/history/ |
D | thumbnail_database_unittest.cc | 154 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 …]
|
D | thumbnail_database.cc | 32 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 …]
|
D | url_database_unittest.cc | 263 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()
|
D | history_backend_unittest.cc | 134 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()
|
D | thumbnail_database.h | 140 IconMapping* icon_mapping);
|
D | expire_history_backend_unittest.cc | 325 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()
|