/external/chromium_org/chrome/browser/history/android/ |
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
|
android_cache_database.h | 35 URLID url_id); 41 bool MarkURLsAsBookmarked(const std::vector<URLID>& url_id); 43 // Set the given |url_id|'s favicon column to |favicon_id|. Returns true on 45 bool SetFaviconID(URLID url_id, chrome::FaviconID favicon_id);
|
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);
|
android_urls_database_unittest.cc | 53 "SELECT id, url_id, raw_url FROM android_urls ORDER BY id ASC"));
|
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_history_types.cc | 122 url_id(0) {
|
sql_handler.h | 19 URLID url_id; member in struct:history::TableIDRow
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_rule_unittest.cc | 144 if (!dict->GetInteger("url_id", &result->condition_set_id)) 161 "{\"url_id\": 1, \"max\": 3}"))); 163 "{\"url_id\": 2, \"max\": 5}"))); 165 "{\"url_id\": 3, \"max\": 1}"))); 315 " {\"url_id\": 1, \"max\": 3}, \n" 316 " {\"url_id\": 2, \"max\": 5}, \n" 394 " {\"url_id\": 1, \"max\": 3}, \n" 395 " {\"url_id\": 2, \"max\": 5}, \n"
|
/external/chromium/chrome/browser/history/ |
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...] |
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...] |
visit_database.h | 56 bool GetVisitsForURL(URLID url_id, VisitVector* visits); 105 VisitID GetMostRecentVisitForURL(URLID url_id, 108 // Returns the |max_results| most recent visit sessions for |url_id|. 113 bool GetMostRecentVisitsForURL(URLID url_id,
|
starred_url_database.cc | 29 // url_id ID of the url, only valid if type == 0 78 entry->url_id = s.ColumnInt64(7); 112 sql.append("FROM starred LEFT JOIN urls ON starred.url_id = urls.id "); 188 StarID StarredURLDatabase::CreateStarredEntryRow(URLID url_id, 196 (type != history::StarredEntry::URL || url_id)); 199 "(type, url_id, group_id, title, date_added, visual_order, parent_id, " 220 statement.BindInt64(1, url_id); 246 "starred.url_id = urls.id WHERE starred.id=?")); 282 entry->url_id = this->AddURL(url_row); 284 entry->url_id = url_row.id(); // The caller doesn't have to set this [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_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...] |
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) {}
|
starred_url_database_unittest.cc | 42 EXPECT_EQ(entry.url_id, db_value.url_id); 277 DeleteURLRow(entry.url_id);
|
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(),
|
/external/chromium_org/chrome/browser/history/ |
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,
|
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...] |
visit_database.h | 59 bool GetVisitsForURL(URLID url_id, VisitVector* visits); 67 bool GetVisibleVisitsForURL(URLID url_id, 139 VisitID GetMostRecentVisitForURL(URLID url_id, 142 // Returns the |max_results| most recent visit sessions for |url_id|. 147 bool GetMostRecentVisitsForURL(URLID url_id,
|
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...] |
url_database.h | 56 bool GetURLRow(URLID url_id, URLRow* info); 73 bool UpdateURLRow(URLID url_id, const URLRow& info); 189 bool SetKeywordSearchTermsForURL(URLID url_id, 195 bool GetKeywordSearchTermRow(URLID url_id, KeywordSearchTermRow* row); 217 // Deletes any search corresponding to |url_id|. 218 bool DeleteKeywordSearchTermForURL(URLID 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/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...] |