Home
last modified time | relevance | path

Searched refs:StarredEntry (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/history/
Dstarred_url_database_unittest.cc31 void CompareEntryByID(const StarredEntry& entry) { in CompareEntryByID()
33 StarredEntry db_value; in CompareEntryByID()
43 if (entry.type == StarredEntry::URL) in CompareEntryByID()
49 std::vector<StarredEntry> entries; in GetStarredEntryCount()
54 StarID CreateStarredEntry(StarredEntry* entry) { in CreateStarredEntry()
58 bool GetStarredEntry(StarID star_id, StarredEntry* entry) { in GetStarredEntry()
108 StarredEntry g_entry; in TEST_F()
109 g_entry.type = StarredEntry::USER_FOLDER; in TEST_F()
130 StarredEntry entry1; in TEST_F()
136 StarredEntry entry2; in TEST_F()
[all …]
Dstarred_url_database.cc53 void FillInStarredEntry(const sql::Statement& s, StarredEntry* entry) { in FillInStarredEntry()
58 entry->type = history::StarredEntry::URL; in FillInStarredEntry()
62 entry->type = history::StarredEntry::BOOKMARK_BAR; in FillInStarredEntry()
65 entry->type = history::StarredEntry::USER_FOLDER; in FillInStarredEntry()
68 entry->type = history::StarredEntry::OTHER; in FillInStarredEntry()
108 std::vector<StarredEntry>* entries) { in GetAllStarredEntries()
121 history::StarredEntry entry; in GetAllStarredEntries()
126 if (entry.type != history::StarredEntry::URL) in GetAllStarredEntries()
194 StarredEntry::Type type) { in CreateStarredEntryRow()
196 (type != history::StarredEntry::URL || url_id)); in CreateStarredEntryRow()
[all …]
Dstarred_url_database.h67 bool GetAllStarredEntries(std::vector<StarredEntry>* entries);
97 StarredEntry::Type type);
106 bool GetStarredEntry(StarID star_id, StarredEntry* entry);
115 StarID CreateStarredEntry(StarredEntry* entry);
118 typedef ui::TreeNodeWithValue<history::StarredEntry> StarredNode;
153 StarredEntry::Type type);
Dhistory_types.cc102 StarredEntry::StarredEntry() in StarredEntry() function in history::StarredEntry
111 StarredEntry::~StarredEntry() { in ~StarredEntry()
114 void StarredEntry::Swap(StarredEntry* other) { in Swap()
Dhistory_types.h274 struct StarredEntry { struct
289 StarredEntry(); argument
290 ~StarredEntry();
292 void Swap(StarredEntry* other);
/external/chromium/chrome/browser/bookmarks/
Dbookmark_model.cc64 void BookmarkNode::Reset(const history::StarredEntry& entry) { in Reset()
65 DCHECK(entry.type != history::StarredEntry::URL || entry.url == url_); in Reset()
69 case history::StarredEntry::URL: in Reset()
72 case history::StarredEntry::USER_FOLDER: in Reset()
75 case history::StarredEntry::BOOKMARK_BAR: in Reset()
78 case history::StarredEntry::OTHER: in Reset()
711 history::StarredEntry entry; in CreateBookmarkNode()
712 entry.type = history::StarredEntry::BOOKMARK_BAR; in CreateBookmarkNode()
717 history::StarredEntry entry; in CreateOtherBookmarksNode()
718 entry.type = history::StarredEntry::OTHER; in CreateOtherBookmarksNode()
[all …]
Dbookmark_model.h124 void Reset(const history::StarredEntry& entry);
391 const history::StarredEntry& entry);