/external/chromium_org/chrome/browser/history/android/ |
H A D | urls_sql_handler_unittest.cc | 60 URLRow url_row; local 61 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 62 EXPECT_EQ(row.url(), url_row.url()); 64 EXPECT_EQ(0, url_row.visit_count()); 65 EXPECT_EQ(Time(), url_row.last_visit()); 66 // The new row's id was set in url_row correctly. 67 EXPECT_EQ(row.url_id(), url_row.id()); 79 URLRow url_row; local 80 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 81 EXPECT_EQ(row.url_id(), url_row 98 URLRow url_row; local 117 URLRow url_row; local 137 URLRow url_row; local 156 URLRow url_row; local 176 URLRow url_row; local 209 URLRow url_row; local 247 URLRow url_row; local 277 URLRow url_row; local 302 URLRow url_row; local 329 URLRow url_row; local [all...] |
H A D | urls_sql_handler.cc | 31 URLRow url_row(row->url()); 33 URLID id = history_db_->GetRowForURL(row->url(), &url_row); 40 url_row.set_title(row->title()); 43 url_row.set_last_visit(row->last_visit_time()); 46 url_row.set_visit_count(row->visit_count()); 51 url_row.set_last_visit(row->created()); 53 url_row.set_last_visit(Time::Now()); 69 url_row.set_visit_count(visit_count); 72 URLID new_id = history_db_->AddURL(url_row); 101 URLRow url_row; local [all...] |
H A D | visit_sql_handler_unittest.cc | 62 URLRow url_row; local 63 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 81 URLRow url_row; local 82 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 101 URLRow url_row; local 102 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 120 URLRow url_row; local 121 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 142 URLRow url_row; local 143 ASSERT_TRUE(history_db_.GetURLRow(row.url_id(), &url_row)); 167 URLRow url_row; local 199 URLRow url_row; local 231 URLRow url_row; local 262 URLRow url_row; local 289 URLRow url_row; local [all...] |
H A D | visit_sql_handler.cc | 50 URLRow url_row; local 51 if (!history_db_->GetURLRow(id->url_id, &url_row)) 53 int visit_count_needed = url_row.visit_count(); 75 url_row.last_visit())) 84 URLRow url_row; local 85 if (!history_db_->GetURLRow(row->url_id(), &url_row)) 88 int visit_count = url_row.visit_count(); 95 row->created() != url_row.last_visit() && visit_count > 0) { 101 if (!AddVisitRows(row->url_id(), visit_count, url_row.last_visit()))
|
H A D | bookmark_model_sql_handler_unittest.cc | 121 URLRow url_row(GURL("http://www.google.com")); 122 url_row.set_title(base::UTF8ToUTF16("Google")); 123 URLID url_id = history_db_.AddURL(url_row); 128 row.set_url(url_row.url()); 133 id_row.url = url_row.url(); 144 EXPECT_EQ(url_row.url(), bookmarks[0].url); 145 EXPECT_EQ(url_row.title(), bookmarks[0].title); 151 EXPECT_EQ(url_row.title(), nodes[0]->GetTitle()); 173 EXPECT_EQ(url_row.url(), bookmarks[0].url); 174 EXPECT_EQ(url_row [all...] |
H A D | android_provider_backend.cc | 344 URLRow url_row; local 345 if (!history_db_->GetURLRow(i->url_id, &url_row)) 347 modified->changed_urls.push_back(url_row); 391 URLRow url_row; local 392 if (!history_db_->GetURLRow(row.url_id(), &url_row)) 396 modified->changed_urls.push_back(url_row); 403 favicon->insert(url_row.url()); 608 URLRow url_row; 609 if (!history_db_->GetURLRow(search_term_rows[0].url_id, &url_row)) 615 table_id_row.url_id = url_row 1131 URLRow url_row; local 1176 URLRow url_row; local [all...] |
H A D | bookmark_model_sql_handler.cc | 108 URLRow url_row; local 109 if (!url_database_->GetURLRow(i->url_id, &url_row)) 116 i->url, url_row.title(), row.parent_id())); 122 i->url, url_row.title()));
|
H A D | android_provider_backend_unittest.cc | 256 URLRow url_row; local 258 ASSERT_TRUE(history_backend->GetURL(url1, &url_row)); 259 url_id1 = url_row.id(); 260 ASSERT_TRUE(history_backend->GetURL(url2, &url_row)); 261 url_id2 = url_row.id(); 289 URLRow url_row; local 290 ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row)); 291 URLID url_id3 = url_row.id(); 292 ASSERT_EQ(url3, url_row.url()); 293 ASSERT_EQ(title3, url_row 1627 URLRow url_row; local 1829 URLRow url_row; local [all...] |
/external/chromium_org/chrome/browser/history/ |
H A D | history_notifications.cc | 26 const URLRow& url_row, 29 : url_row(url_row), 25 KeywordSearchUpdatedDetails( const URLRow& url_row, KeywordID keyword_id, const base::string16& term) argument
|
H A D | in_memory_history_backend.cc | 104 void InMemoryHistoryBackend::OnURLVisitedOrModified(const URLRow& url_row) { argument 106 DCHECK(url_row.id()); 107 if (url_row.typed_count() || db_->GetKeywordSearchTermRow(url_row.id(), NULL)) 108 db_->InsertOrUpdateURLRowByID(url_row); 110 db_->DeleteURLRow(url_row.id()); 136 DCHECK(details.url_row.id()); 137 db_->InsertOrUpdateURLRowByID(details.url_row); 139 details.url_row.id(), details.keyword_id, details.term);
|
H A D | expire_history_backend.cc | 160 URLRow url_row; local 161 if (!main_db_->GetRowForURL(*url, &url_row)) 168 main_db_->GetVisitsForURL(url_row.id(), &visits); 176 DeleteOneURL(url_row, 355 void ExpireHistoryBackend::DeleteOneURL(const URLRow& url_row, argument 358 main_db_->DeleteSegmentForURL(url_row.id()); 361 effects->deleted_urls.push_back(url_row); 367 if (thumb_db_->GetIconMappingsForPageURL(url_row.url(), &icon_mappings)) { 373 thumb_db_->DeleteIconMappings(url_row.url()); 377 main_db_->DeleteURLRow(url_row 417 URLRow& url_row = effects->affected_urls[i->first]; local [all...] |
H A D | history_database_unittest.cc | 41 URLRow url_row; local 42 while (url_enumerator.GetNextURL(&url_row)) {
|
H A D | history_notifications.h | 74 KeywordSearchUpdatedDetails(const URLRow& url_row, 81 URLRow url_row; member in struct:history::KeywordSearchUpdatedDetails
|
H A D | typed_url_syncable_service_unittest.cc | 270 URLRow url_row = url_rows.front(); local 284 EXPECT_TRUE(URLsEqual(url_row, url_specifics)); 296 EXPECT_TRUE(sync_state.end() != sync_state.find(url_row.url())); 310 URLRow url_row = url_rows.front(); local 314 AddNewestVisit(&url_row, &visits, ui::PAGE_TRANSITION_TYPED, 7); 316 SetVisitsForUrl(url_row.id(), &visits); 317 changed_urls.push_back(url_row); 330 EXPECT_TRUE(URLsEqual(url_row, url_specifics)); 349 EXPECT_TRUE(sync_state.end() != sync_state.find(url_row.url())); 362 URLRow url_row local 386 URLRow url_row = url_rows.front(); local 537 URLRow url_row = url_rows.front(); local 589 URLRow url_row = url_rows.front(); local [all...] |
H A D | in_memory_history_backend.h | 81 void OnURLVisitedOrModified(const URLRow& url_row);
|
H A D | url_index_private_data.cc | 307 URLRow& row_to_update = row_pos->second.url_row; 379 return item.second.url_row.url() == url_; 394 RemoveRowFromIndex(pos->second.url_row); 715 history_info_map_[history_id].url_row = new_row; 988 const URLRow& url_row(iter->second.url_row); 991 map_entry->set_visit_count(url_row.visit_count()); 992 map_entry->set_typed_count(url_row.typed_count()); 993 map_entry->set_last_visit(url_row.last_visit().ToInternalValue()); 994 map_entry->set_url(url_row [all...] |
H A D | expire_history_backend_unittest.cc | 479 URLRow url_row; local 480 ASSERT_TRUE(main_db_->GetURLRow(url_ids[2], &url_row)); 483 StarURL(url_row.url()); 486 expirer_.DeleteURL(url_row.url()); 489 GURL url = url_row.url(); 490 ASSERT_TRUE(main_db_->GetRowForURL(url, &url_row)); 494 GetFavicon(url_row.url(), favicon_base::FAVICON); 499 main_db_->GetVisitsForURL(url_row.id(), &visits); 504 // ASSERT_TRUE(HasThumbnail(url_row.id())); 512 EnsureURLInfoGone(url_row, fals [all...] |
H A D | in_memory_url_index_types.h | 152 URLRow url_row; member in struct:history::HistoryInfoMapValue
|
H A D | history_service.cc | 257 history::URLRow url_row; local 258 if (!GetRowForURL(url, &url_row)) 260 *typed_count = url_row.typed_count(); 267 history::URLRow url_row; local 268 if (!GetRowForURL(url, &url_row)) 270 *last_visit = url_row.last_visit(); 276 history::URLRow url_row; local 277 if (!GetRowForURL(url, &url_row)) 279 *visit_count = url_row.visit_count(); 1218 bool HistoryService::GetRowForURL(const GURL& url, history::URLRow* url_row) { argument [all...] |
H A D | expire_history_backend.h | 169 void DeleteOneURL(const URLRow& url_row,
|
H A D | scored_history_match_unittest.cc | 46 void PopulateWordStarts(const URLRow& url_row, RowWordStarts* word_starts); 76 const URLRow& url_row, RowWordStarts* word_starts) { 77 String16SetFromString16(ASCIIToUTF16(url_row.url().spec()), 79 String16SetFromString16(url_row.title(), &word_starts->title_word_starts_); 75 PopulateWordStarts( const URLRow& url_row, RowWordStarts* word_starts) argument
|
/external/chromium_org/components/history/core/browser/ |
H A D | url_row.cc | 5 #include "components/history/core/browser/url_row.h" 75 URLResult::URLResult(const URLRow& url_row) argument 76 : URLRow(url_row),
|
H A D | url_row.h | 169 explicit URLResult(const URLRow& url_row);
|
/external/chromium_org/chrome/browser/extensions/api/history/ |
H A D | history_api.h | 138 const history::URLRow& url_row,
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | typed_url_model_associator.h | 158 // Updates the passed |url_row| based on the values in |specifics|. Fields 162 const sync_pb::TypedUrlSpecifics& specifics, history::URLRow* url_row);
|