Home
last modified time | relevance | path

Searched refs:visit_id (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/browser/history/
Dvisit_database_unittest.cc25 return a.visit_id == b.visit_id && in IsVisitInfoEqual()
108 visit_info1.visit_id, PageTransition::LINK, 0); in TEST_F()
113 visit_info2.visit_id, PageTransition::LINK, 0); in TEST_F()
129 visit_info3.referring_visit = visit_info1.visit_id; in TEST_F()
153 GetRowForVisit(original.visit_id, &final); in TEST_F()
166 visit_info1.visit_id = 1; in TEST_F()
176 visit_info2.visit_id = 2; in TEST_F()
185 visit_info3.visit_id = 3; in TEST_F()
190 visit_info1.visit_time + TimeDelta::FromSeconds(3), visit_info3.visit_id, in TEST_F()
194 visit_info4.visit_id = 4; in TEST_F()
[all …]
Dvisit_database.cc90 visit->visit_id = statement.ColumnInt64(0); in FillVisitRow()
133 visit->visit_id = GetDB().GetLastInsertRowId(); in AddVisit()
141 << "url_id = " << visit->visit_id; in AddVisit()
145 statement1.BindInt64(0, visit->visit_id); in AddVisit()
149 << "url_id = " << visit->visit_id; in AddVisit()
154 return visit->visit_id; in AddVisit()
165 update_chain.BindInt64(1, visit.visit_id); in DeleteVisit()
173 del.BindInt64(0, visit.visit_id); in DeleteVisit()
183 del.BindInt64(0, visit.visit_id); in DeleteVisit()
187 bool VisitDatabase::GetRowForVisit(VisitID visit_id, VisitRow* out_visit) { in GetRowForVisit() argument
[all …]
Dtext_database_manager.cc49 VisitID visit_id, in PageInfo() argument
52 visit_id_(visit_id), in PageInfo()
173 VisitID visit_id, in AddPageURL() argument
182 recent_changes_.Put(url, PageInfo(url_id, visit_id, time)); in AddPageURL()
216 AddPageData(url, url_row.id(), visit.visit_id, visit.visit_time, in AddPageTitle()
224 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(), in AddPageTitle()
252 AddPageData(url, url_row.id(), visit.visit_id, visit.visit_time, in AddPageContents()
260 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(), in AddPageContents()
271 VisitID visit_id, in AddPageData() argument
290 if (visits[i].visit_id == visit_id) { in AddPageData()
[all …]
Dvisit_tracker.cc61 return transitions[i].visit_id; in GetLastVisit()
72 VisitID visit_id) { in AddVisit() argument
82 t.visit_id = visit_id; in AddVisit()
Dtext_database_manager_unittest.cc82 VisitID visit_id = visit_db->AddVisit(&visit_row, SOURCE_BROWSED); in AddAllPages() local
85 manager.AddPageData(GURL(kURL1), visit_row.url_id, visit_row.visit_id, in AddAllPages()
92 visit_id = visit_db->AddVisit(&visit_row, SOURCE_BROWSED); in AddAllPages()
94 manager.AddPageData(GURL(kURL2), visit_row.url_id, visit_row.visit_id, in AddAllPages()
101 visit_id = visit_db->AddVisit(&visit_row, SOURCE_BROWSED); in AddAllPages()
103 manager.AddPageData(GURL(kURL3), visit_row.url_id, visit_row.visit_id, in AddAllPages()
111 visit_id = visit_db->AddVisit(&visit_row, SOURCE_BROWSED); in AddAllPages()
113 manager.AddPageData(GURL(kURL4), visit_row.url_id, visit_row.visit_id, in AddAllPages()
120 visit_id = visit_db->AddVisit(&visit_row, SOURCE_BROWSED); in AddAllPages()
122 manager.AddPageData(GURL(kURL5), visit_row.url_id, visit_row.visit_id, in AddAllPages()
[all …]
Dtext_database_manager.h105 void AddPageURL(const GURL& url, URLID url_id, VisitID visit_id,
116 VisitID visit_id,
174 PageInfo(URLID url_id, VisitID visit_id, base::Time visit_time);
179 VisitID visit_id() const { return visit_id_; } in visit_id() function
Dhistory_database.cc190 bool HistoryDatabase::SetSegmentID(VisitID visit_id, SegmentID segment_id) { in SetSegmentID() argument
198 s.BindInt64(1, visit_id); in SetSegmentID()
203 SegmentID HistoryDatabase::GetSegmentID(VisitID visit_id) { in GetSegmentID() argument
211 s.BindInt64(0, visit_id); in GetSegmentID()
Dvisit_tracker.h32 VisitID visit_id);
49 VisitID visit_id; // Visit ID generated by history. member
Dhistory_database.h135 bool SetSegmentID(VisitID visit_id, SegmentID segment_id);
139 SegmentID GetSegmentID(VisitID visit_id);
Dvisit_tracker_unittest.cc21 const history::VisitID visit_id; member
52 test[i].visit_id); in RunTest()
Dexpire_history_backend_unittest.cc266 text_db_->AddPageData(url_row1.url(), visit_row1.url_id, visit_row1.visit_id, in AddExampleData()
270 text_db_->AddPageData(url_row2.url(), visit_row2.url_id, visit_row2.visit_id, in AddExampleData()
273 text_db_->AddPageData(url_row2.url(), visit_row3.url_id, visit_row3.visit_id, in AddExampleData()
279 text_db_->AddPageData(url_row3.url(), visit_row4.url_id, visit_row4.visit_id, in AddExampleData()
475 text_db_->AddPageURL(last_row.url(), last_row.id(), visits[0].visit_id, in TEST_F()
605 text_db_->AddPageURL(url_row2.url(), url_row2.id(), visits[0].visit_id, in TEST_F()
663 text_db_->AddPageURL(url_row2.url(), url_row2.id(), visits[0].visit_id, in TEST_F()
909 iter = sources.find(archived_visits[i].visit_id); in TEST_F()
Dhistory_backend.cc290 VisitID visit_id = from_visit; in GetLastSegmentID() local
291 while (visit_id) { in GetLastSegmentID()
293 if (!db_->GetRowForVisit(visit_id, &row)) in GetLastSegmentID()
299 visit_id = row.referring_visit; in GetLastSegmentID()
301 if (visit_set.find(visit_id) != visit_set.end()) { in GetLastSegmentID()
305 visit_set.insert(visit_id); in GetLastSegmentID()
312 VisitID visit_id, in UpdateSegments() argument
354 if (!db_->SetSegmentID(visit_id, segment_id)) { in UpdateSegments()
708 VisitID visit_id = db_->AddVisit(&visit_info, visit_source); in AddPageVisit() local
714 if (visit_id) { in AddPageVisit()
[all …]
Dvisit_database.h47 bool GetRowForVisit(VisitID visit_id, VisitRow* out_visit);
Dhistory_backend_unittest.cc257 VisitID visit1_id = visits[0].visit_id; in TEST_F()
262 VisitID visit2_id = visits[0].visit_id; in TEST_F()
640 switch (visit_sources[visits[i].visit_id]) { in TEST_F()
726 EXPECT_EQ(history::SOURCE_IE_IMPORTED, visit_sources[visits[i].visit_id]); in TEST_F()
733 EXPECT_EQ(history::SOURCE_SYNCED, visit_sources[visits[i].visit_id]); in TEST_F()
775 EXPECT_EQ(history::SOURCE_SYNCED, visit_sources[visits[i].visit_id]); in TEST_F()
Dhistory_types.cc67 : visit_id(0), in VisitRow()
80 : visit_id(0), in VisitRow()
Dhistory_backend.h441 VisitID visit_id,
Dhistory_types.h198 VisitID visit_id; variable
Dhistory_unittest.cc476 int64 first_visit = query_url_visits_[0].visit_id; in TEST_F()
486 int64 second_visit = query_url_visits_[0].visit_id; in TEST_F()
Dexpire_history_backend.cc566 VisitSourceMap::iterator iter = visit_sources.find(visits[i].visit_id); in ArchiveURLsAndVisits()
/external/chromium/chrome/browser/extensions/
Dextension_history_api.cc49 value->SetString(keys::kVisitId, base::Int64ToString(row.visit_id)); in GetVisitInfoDictionary()