/external/chromium/chrome/browser/history/ |
url_database.cc | 85 bool URLDatabase::GetURLRow(URLID url_id, URLRow* info) { 95 statement.BindInt64(0, url_id); 133 bool URLDatabase::UpdateURLRow(URLID url_id, 147 statement.BindInt64(5, url_id); 209 "DELETE FROM keyword_search_terms WHERE url_id=?")); 383 "url_id INTEGER NOT NULL," // ID of the url. 398 "keyword_search_terms (url_id)"); 406 bool URLDatabase::SetKeywordSearchTermsForURL(URLID url_id, 409 DCHECK(url_id && keyword_id && !term.empty()); 413 "WHERE keyword_id = ? AND url_id = ?")) [all...] |
visit_database.cc | 91 visit->url_id = statement.ColumnInt64(1); 116 << "url_id = " << visit->url_id; 120 statement.BindInt64(0, visit->url_id); 129 << "url_id = " << visit->url_id; 141 << "url_id = " << visit->visit_id; 149 << "url_id = " << visit->visit_id; 220 statement.BindInt64(0, visit.url_id); 230 bool VisitDatabase::GetVisitsForURL(URLID url_id, VisitVector* visits) [all...] |
text_database_manager_unittest.cc | 76 visit_row.url_id = 1; 85 manager.AddPageData(GURL(kURL1), visit_row.url_id, visit_row.visit_id, 90 visit_row.url_id = 2; 94 manager.AddPageData(GURL(kURL2), visit_row.url_id, visit_row.visit_id, 99 visit_row.url_id = 2; 103 manager.AddPageData(GURL(kURL3), visit_row.url_id, visit_row.visit_id, 109 visit_row.url_id = 2; 113 manager.AddPageData(GURL(kURL4), visit_row.url_id, visit_row.visit_id, 118 visit_row.url_id = 2; 122 manager.AddPageData(GURL(kURL5), visit_row.url_id, visit_row.visit_id 333 URLID url_id = visit_db.AddURL(url_row); local [all...] |
text_database_manager.h | 105 void AddPageURL(const GURL& url, URLID url_id, VisitID visit_id, 115 URLID url_id, 174 PageInfo(URLID url_id, VisitID visit_id, base::Time visit_time); 178 URLID url_id() const { return url_id_; } function in class:history::TextDatabaseManager::PageInfo
|
visitsegment_database.cc | 25 // url_id ID of the url currently used to represent this segment. 49 "url_id INTEGER NON NULL," 63 GetDB().Execute("CREATE INDEX segments_url_id ON segments(url_id)"); 96 "url_id INTEGER PRIMARY KEY," 154 URLID url_id) { 156 "UPDATE segments SET url_id = ? WHERE id = ?")); 160 statement.BindInt64(0, url_id); 167 "SELECT url_id FROM segments WHERE id = ?")); 177 SegmentID VisitSegmentDatabase::CreateSegment(URLID url_id, 180 "INSERT INTO segments (name, url_id) VALUES (?,?)")) [all...] |
history_backend.cc | 329 URLID url_id = db_->GetRowForURL(url, NULL); local 330 if (!url_id) 334 if (!(segment_id = db_->CreateSegment(url_id, segment_name))) { 342 db_->UpdateSegmentRepresentationURL(segment_id, url_id); 669 URLID url_id = db_->GetRowForURL(url, &url_info); local 670 if (url_id) { 682 db_->UpdateURLRow(url_id, url_info); 690 url_id = db_->AddURL(url_info); 691 if (!url_id) { 695 url_info.id_ = url_id; 755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); local 881 URLID url_id = db_->GetRowForURL(url, &url_info); local 1493 URLID url_id = db_->GetRowForURL(url, &url_row); local 1525 URLID url_id; local 1590 URLID url_id; local [all...] |
text_database_manager.cc | 48 TextDatabaseManager::PageInfo::PageInfo(URLID url_id, 51 : url_id_(url_id), 172 URLID url_id, 182 recent_changes_.Put(url, PageInfo(url_id, visit_id, time)); 224 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(), 260 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(), 270 URLID url_id, 285 visit_database_->GetVisitsForURL(url_id, &visits); 550 AddPageData(i->first, i->second.url_id(), i->second.visit_id(),
|
expire_history_backend_unittest.cc | 69 bool HasThumbnail(URLID url_id); 241 visit_row1.url_id = url_ids[0]; 247 visit_row2.url_id = url_ids[1]; 253 visit_row3.url_id = url_ids[1]; 260 visit_row4.url_id = url_ids[2]; 266 text_db_->AddPageData(url_row1.url(), visit_row1.url_id, visit_row1.visit_id, 270 text_db_->AddPageData(url_row2.url(), visit_row2.url_id, visit_row2.visit_id, 273 text_db_->AddPageData(url_row2.url(), visit_row3.url_id, visit_row3.visit_id, 279 text_db_->AddPageData(url_row3.url(), visit_row4.url_id, visit_row4.visit_id, 293 URLID url_id = main_db_->AddURL(url_row1) local 891 URLID url_id; local [all...] |
expire_history_backend.cc | 246 if (url_ids.find(visit->url_id) != url_ids.end()) 374 dependencies->affected_urls.find(visits[i].url_id); 378 if (!main_db_->GetURLRow(visits[i].url_id, &row)) 380 dependencies->affected_urls[visits[i].url_id] = row; 381 cur_row = &dependencies->affected_urls[visits[i].url_id]; 468 ChangedURL& cur = changed_urls[visits[i].url_id]; 531 dependencies->affected_urls.find(visits[i].url_id); 536 if (!main_db_->GetURLRow(visits[i].url_id, &row) || 564 cur_visit.url_id = main_id_to_archived_id[cur_visit.url_id]; [all...] |
history_types.cc | 68 url_id(0), 81 url_id(arg_url_id), 108 url_id(0) { 123 std::swap(url_id, other->url_id); 314 KeywordSearchTermRow::KeywordSearchTermRow() : keyword_id(0), url_id(0) {}
|
/external/chromium_org/chrome/browser/history/ |
url_database.cc | 75 bool URLDatabase::GetURLRow(URLID url_id, URLRow* info) { 82 statement.BindInt64(0, url_id); 117 bool URLDatabase::UpdateURLRow(URLID url_id, 128 statement.BindInt64(5, url_id); 375 "url_id INTEGER NOT NULL," // ID of the url. 394 "keyword_search_terms (url_id)")) { 412 bool URLDatabase::SetKeywordSearchTermsForURL(URLID url_id, 415 DCHECK(url_id && keyword_id && !term.empty()); 419 "WHERE keyword_id = ? AND url_id = ?")); 421 exist_statement.BindInt64(1, url_id); [all...] |
visit_database.cc | 87 visit->url_id = statement.ColumnInt64(1); 132 if (found_urls.find(visit.url_id) != found_urls.end()) 134 found_urls.insert(visit.url_id); 149 statement.BindInt64(0, visit->url_id); 158 << "url_id = " << visit->url_id; 235 statement.BindInt64(0, visit.url_id); 246 bool VisitDatabase::GetVisitsForURL(URLID url_id, VisitVector* visits) { 254 statement.BindInt64(0, url_id); 258 bool VisitDatabase::GetVisibleVisitsForURL(URLID url_id, [all...] |
visit_database_unittest.cc | 29 a.url_id == b.url_id && 78 VisitRow visit_info2(visit_info1.url_id, 91 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); 120 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); 133 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); 146 modification.url_id = 2; 177 VisitRow visit_info2(visit_info1.url_id, 216 VisitRow visit_info6(visit_info1.url_id,
|
visitsegment_database.cc | 28 // url_id ID of the url currently used to represent this segment. 60 "url_id INTEGER NON NULL)")) { 73 "segments(url_id)")) 175 URLID url_id) { 177 "UPDATE segments SET url_id = ? WHERE id = ?")); 178 statement.BindInt64(0, url_id); 186 "SELECT url_id FROM segments WHERE id = ?")); 194 SegmentID VisitSegmentDatabase::CreateSegment(URLID url_id, 197 "INSERT INTO segments (name, url_id) VALUES (?,?)")); 199 statement.BindInt64(1, url_id); [all...] |
expire_history_backend_unittest.cc | 74 bool HasThumbnail(URLID url_id); 239 visit_row1.url_id = url_ids[0]; 244 visit_row2.url_id = url_ids[1]; 249 visit_row3.url_id = url_ids[1]; 255 visit_row4.url_id = url_ids[2]; 269 URLID url_id = main_db_->AddURL(url_row1); local 270 *id = url_id; 273 VisitRow visit_row1(url_id, last_visit_time - TimeDelta::FromDays(4), 0, 277 VisitRow visit_row2(url_id, last_visit_time - TimeDelta::FromDays(3), 0, 281 VisitRow visit_row3(url_id, last_visit_time - TimeDelta::FromDays(2), 0 859 URLID url_id; local [all...] |
top_sites.h | 161 int url_id; member in struct:history::TopSites::PrepopulatedPage
|
history_backend.cc | 314 URLID url_id = db_->GetRowForURL(url, NULL); local 315 if (!url_id) 319 if (!(segment_id = db_->CreateSegment(url_id, segment_name))) { 327 db_->UpdateSegmentRepresentationURL(segment_id, url_id); 741 URLID url_id = db_->GetRowForURL(url, &url_info); local 742 if (url_id) { 756 db_->UpdateURLRow(url_id, url_info); 764 url_id = db_->AddURL(url_info); 765 if (!url_id) { 769 url_info.id_ = url_id; 824 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); local 928 URLID url_id = db_->GetRowForURL(url, &url_info); local 1097 URLID url_id = db_->GetRowForURL(url, NULL); local [all...] |
expire_history_backend.cc | 249 if (url_ids.find(visit->url_id) != url_ids.end()) 395 dependencies->affected_urls.find(visits[i].url_id); 398 if (!main_db_->GetURLRow(visits[i].url_id, &row)) 400 dependencies->affected_urls[visits[i].url_id] = row; 470 ChangedURL& cur = changed_urls[visits[i].url_id]; 535 dependencies->affected_urls.find(visits[i].url_id); 540 if (!main_db_->GetURLRow(visits[i].url_id, &row) || 568 cur_visit.url_id = main_id_to_archived_id[cur_visit.url_id];
|
/external/chromium_org/net/url_request/ |
url_request_throttler_entry.cc | 55 base::Value* NetLogRejectedRequestCallback(const std::string* url_id, 60 dict->SetString("url", *url_id); 68 const std::string& url_id) 75 url_id_(url_id), 84 const std::string& url_id, 97 url_id_(url_id) {
|
/external/chromium_org/chrome/browser/history/android/ |
android_provider_backend.cc | 38 "urls.id AS url_id, urls.url AS urls_url, " 46 "FROM (android_urls JOIN urls on (android_urls.url_id = urls.id) " 48 "on (android_urls.url_id = android_cache_db.bookmark_cache.url_id))"; 59 "(keyword_search_terms.url_id = urls.id) " 346 if (!history_db_->GetURLRow(i->url_id, &url_row)) 386 if (!history_db_->GetURLRow(row.url_id(), &url_row)) 463 if (!history_db_->GetAndroidURLRow(i->url_id, &android_url_row)) 599 if (!history_db_->GetURLRow(search_term_rows[0].url_id, &url_row)) 605 table_id_row.url_id = url_row.id() 779 URLID url_id = history_db_->GetRowForURL(i->url, NULL); local 816 URLID url_id = history_db_->GetRowForURL(icon_mapping.page_url, NULL); local [all...] |
urls_sql_handler.cc | 102 if (!history_db_->GetURLRow(ids->url_id, &url_row)) 139 if (!history_db_->UpdateURLRow(ids->url_id, update_row)) 148 if (!history_db_->DeleteURLRow(ids->url_id))
|
android_cache_database.cc | 41 URLID url_id) { 44 "last_visit_time, url_id) VALUES (?, ?, ?)")); 48 statement.BindInt64(2, url_id); 85 "SET bookmark = 1 WHERE url_id in ("); 95 bool AndroidCacheDatabase::SetFaviconID(URLID url_id, 99 "SET favicon_id = ? WHERE url_id = ? ")); 102 update_statement.BindInt64(1, url_id); 210 "url_id INTEGER NOT NULL," // url id in urls table. 221 "bookmark_cache(url_id)");
|
android_history_types.h | 44 URL_ID, 151 void set_url_id(URLID url_id) { 152 set_value_explicitly(URL_ID); 153 url_id_ = url_id; 155 URLID url_id() const { function in class:history::HistoryAndBookmarkRow 284 URLID url_id; member in struct:history::AndroidURLRow
|
bookmark_model_sql_handler_unittest.cc | 123 URLID url_id = history_db_.AddURL(url_row); local 124 ASSERT_TRUE(url_id); 132 id_row.url_id = url_id; 186 history_db_.UpdateURLRow(url_id, url_row);
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_local_predictor.cc | 341 PrerenderProperties(URLID url_id, const GURL& url, double priority, 343 : url_id(url_id), 371 URLID url_id; member in struct:prerender::PrerenderLocalPredictor::PrerenderProperties 466 current_prerender_->url_id == info.url_id && 489 new CandidatePrerenderInfo(info.url_id)); 493 if (visits[i].url_id == info.url_id) { 503 next_urls_currently_found.insert(visits[i].url_id); 1204 URLID url_id = url_info->id; local [all...] |