/external/chromium/chrome/browser/history/ |
thumbnail_database_unittest.cc | 154 std::vector<IconMapping> icon_mapping; local 155 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); 156 EXPECT_EQ(1u, icon_mapping.size()); 157 EXPECT_EQ(url, icon_mapping.front().page_url); 158 EXPECT_EQ(id, icon_mapping.front().icon_id); 175 std::vector<IconMapping> icon_mapping; local 176 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); 177 ASSERT_EQ(1u, icon_mapping.size()); 178 EXPECT_EQ(url, icon_mapping.front().page_url); 179 EXPECT_EQ(id, icon_mapping.front().icon_id) 212 std::vector<IconMapping> icon_mapping; local 244 std::vector<IconMapping> icon_mapping; local 283 IconMapping icon_mapping; local 308 IconMapping icon_mapping; local 329 std::vector<IconMapping> icon_mapping; local [all...] |
url_database_unittest.cc | 263 IconMapping icon_mapping; local 264 ASSERT_TRUE(e.GetNextIconMapping(&icon_mapping)); 265 ASSERT_EQ(url1, icon_mapping.page_url); 266 ASSERT_EQ(icon_id, icon_mapping.icon_id); 267 ASSERT_FALSE(e.GetNextIconMapping(&icon_mapping));
|
thumbnail_database.cc | 32 history::IconMapping* icon_mapping) { 33 icon_mapping->mapping_id = statement.ColumnInt64(0); 34 icon_mapping->icon_id = statement.ColumnInt64(1); 35 icon_mapping->icon_type = 37 icon_mapping->page_url = page_url; 474 IconMapping* icon_mapping) { 482 if (icon_mapping != NULL) 483 *icon_mapping = *m; 495 "SELECT icon_mapping.id, icon_mapping.icon_id, favicons.icon_type [all...] |
thumbnail_database.h | 136 // The matched icon mapping is returned in the icon_mapping parameter if it is 140 IconMapping* icon_mapping); 175 // Copies the given icon mapping from the "main" icon_mapping table to the 259 // Creates the index over the icon_mapping table, This will be called during 262 // over the newly-renamed icon_mapping table (formerly the temporary table
|
history_backend_unittest.cc | 134 IconMapping icon_mapping; local 136 &icon_mapping)) 137 return icon_mapping.icon_id; 899 std::vector<IconMapping> icon_mapping; local 925 std::vector<IconMapping> icon_mapping; local [all...] |
expire_history_backend_unittest.cc | 325 IconMapping icon_mapping; local 326 thumb_db_->GetIconMappingForPageURL(page_url, icon_type, &icon_mapping); 327 return icon_mapping.icon_id; [all...] |
/external/chromium_org/chrome/browser/history/ |
thumbnail_database_unittest.cc | 68 // [meta], [favicons], [favicon_bitmaps], and [icon_mapping]. 72 // [favicon_bitmaps], two indices on [icon_mapping]. 85 EXPECT_EQ(3u, sql::test::CountTableColumns(db, "icon_mapping")); 94 EXPECT_TRUE(sql::test::CountTableRows(db, "icon_mapping", &rows)); 230 std::vector<IconMapping> icon_mapping; local 231 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); 232 ASSERT_EQ(1u, icon_mapping.size()); 233 EXPECT_EQ(url, icon_mapping.front().page_url); 234 EXPECT_EQ(id, icon_mapping.front().icon_id); 239 EXPECT_TRUE(db.UpdateIconMapping(icon_mapping.front().mapping_id, new_id)) 269 std::vector<IconMapping> icon_mapping; local 612 std::vector<IconMapping> icon_mapping; local [all...] |
thumbnail_database.cc | 34 // icon_mapping 40 // |page_url| in the |icon_mapping| table. This is the 44 // row in the icon_mapping table. 93 history::IconMapping* icon_mapping) { 94 icon_mapping->mapping_id = statement.ColumnInt64(0); 95 icon_mapping->icon_id = statement.ColumnInt64(1); 96 icon_mapping->icon_type = 98 icon_mapping->icon_url = GURL(statement.ColumnString(3)); 99 icon_mapping->page_url = page_url; 281 // force. The [favicons] index and the [icon_mapping] items wer [all...] |
thumbnail_database.h | 159 // The matched icon mapping is returned in the icon_mapping parameter if it is 211 bool GetNextIconMapping(IconMapping* icon_mapping);
|
/external/chromium_org/chrome/browser/history/android/ |
android_provider_backend.cc | 814 IconMapping icon_mapping; 815 while (enumerator.GetNextIconMapping(&icon_mapping)) { 816 URLID url_id = history_db_->GetRowForURL(icon_mapping.page_url, NULL); 821 history_db_->SetFaviconID(url_id, icon_mapping.icon_id); [all...] |