Searched defs:url_row (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/browser/history/
H A Dhistory_database_unittest.cc41 URLRow url_row; local
42 while (url_enumerator.GetNextURL(&url_row)) {
H A Din_memory_history_backend.cc152 URLRow url_row; local
154 if (!db_->GetRowForURL(details.url, &url_row)) {
164 url_id = url_row.id();
H A Din_memory_url_index_types.h161 URLRow url_row; member in struct:history::HistoryInfoMapValue
H A Dscored_history_match_unittest.cc43 void PopulateWordStarts(const URLRow& url_row, RowWordStarts* word_starts);
73 const URLRow& url_row, RowWordStarts* word_starts) {
74 String16SetFromString16(ASCIIToUTF16(url_row.url().spec()),
76 String16SetFromString16(url_row.title(), &word_starts->title_word_starts_);
72 PopulateWordStarts( const URLRow& url_row, RowWordStarts* word_starts) argument
H A Dtyped_url_syncable_service_unittest.cc302 URLRow url_row = url_rows.front(); local
315 EXPECT_TRUE(URLsEqual(url_row, url_specifics));
327 EXPECT_TRUE(sync_state.end() != sync_state.find(url_row.url()));
343 URLRow url_row = url_rows.front(); local
347 AddNewestVisit(&url_row, &visits, content::PAGE_TRANSITION_TYPED, 7);
349 SetVisitsForUrl(url_row.id(), &visits);
350 changed_urls.push_back(url_row);
363 EXPECT_TRUE(URLsEqual(url_row, url_specifics));
382 EXPECT_TRUE(sync_state.end() != sync_state.find(url_row.url()));
397 URLRow url_row local
423 URLRow url_row = url_rows.front(); local
581 URLRow url_row = url_rows.front(); local
635 URLRow url_row = url_rows.front(); local
[all...]
H A Dexpire_history_backend.cc208 URLRow url_row; local
209 if (!main_db_->GetRowForURL(*url, &url_row))
217 main_db_->GetVisitsForURL(url_row.id(), &visits);
230 DeleteOneURL(url_row, is_bookmarked, &dependencies);
414 const URLRow& url_row,
417 main_db_->DeleteSegmentForURL(url_row.id());
420 dependencies->deleted_urls.push_back(url_row);
424 thumb_db_->DeleteThumbnail(url_row.id());
428 if (thumb_db_->GetIconMappingsForPageURL(url_row.url(), &icon_mappings)) {
434 thumb_db_->DeleteIconMappings(url_row
413 DeleteOneURL( const URLRow& url_row, bool is_bookmarked, DeleteDependencies* dependencies) argument
442 ArchiveOneURL(const URLRow& url_row) argument
500 URLRow& url_row = dependencies->affected_urls[i->first]; local
[all...]
H A Dexpire_history_backend_unittest.cc460 URLRow url_row; local
461 ASSERT_TRUE(main_db_->GetURLRow(url_ids[2], &url_row));
464 StarURL(url_row.url());
467 expirer_.DeleteURL(url_row.url());
470 GURL url = url_row.url();
471 ASSERT_TRUE(main_db_->GetRowForURL(url, &url_row));
474 chrome::FaviconID favicon_id = GetFavicon(url_row.url(), chrome::FAVICON);
479 main_db_->GetVisitsForURL(url_row.id(), &visits);
484 // ASSERT_TRUE(HasThumbnail(url_row.id()));
491 EnsureURLInfoGone(url_row);
[all...]
/external/chromium_org/chrome/browser/history/android/
H A Durls_sql_handler.cc31 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 Durls_sql_handler_unittest.cc60 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 Dvisit_sql_handler_unittest.cc62 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 Dvisit_sql_handler.cc50 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 Dbookmark_model_sql_handler.cc106 URLRow url_row; local
107 if (!url_database_->GetURLRow(i->url_id, &url_row))
114 i->url, url_row.title(), row.parent_id()));
120 i->url, url_row.title()));
H A Dandroid_provider_backend.cc345 URLRow url_row; local
346 if (!history_db_->GetURLRow(i->url_id, &url_row))
348 modified->changed_urls.push_back(url_row);
385 URLRow url_row; local
386 if (!history_db_->GetURLRow(row.url_id(), &url_row))
392 modified->changed_urls.push_back(url_row);
401 favicon->urls.insert(url_row.url());
598 URLRow url_row;
599 if (!history_db_->GetURLRow(search_term_rows[0].url_id, &url_row))
605 table_id_row.url_id = url_row
1110 URLRow url_row; local
1150 URLRow url_row; local
[all...]
H A Dandroid_provider_backend_unittest.cc242 URLRow url_row; local
244 ASSERT_TRUE(history_backend->GetURL(url1, &url_row));
245 url_id1 = url_row.id();
246 ASSERT_TRUE(history_backend->GetURL(url2, &url_row));
247 url_id2 = url_row.id();
281 URLRow url_row; local
282 ASSERT_TRUE(history_db_.GetRowForURL(url3, &url_row));
283 URLID url_id3 = url_row.id();
284 ASSERT_EQ(url3, url_row.url());
285 ASSERT_EQ(title3, url_row
387 URLRow url_row; local
1603 URLRow url_row; local
1801 URLRow url_row; local
[all...]
/external/chromium/chrome/browser/history/
H A Din_memory_history_backend.cc174 URLRow url_row; local
176 if (!db_->GetRowForURL(details.url, &url_row)) {
186 url_id = url_row.id();
H A Dstarred_url_database.cc276 URLRow url_row; local
277 if (!GetRowForURL(entry->url, &url_row)) {
279 url_row = URLRow(entry->url);
280 url_row.set_title(entry->title);
281 url_row.set_hidden(false);
282 entry->url_id = this->AddURL(url_row);
284 entry->url_id = url_row.id(); // The caller doesn't have to set this.
293 UpdateURLRow(entry->url_id, url_row);
H A Dexpire_history_backend.cc192 URLRow url_row;
193 if (!main_db_->GetRowForURL(url, &url_row))
201 main_db_->GetVisitsForURL(url_row.id(), &visits);
214 DeleteOneURL(url_row, is_bookmarked, &dependencies);
395 const URLRow& url_row,
398 main_db_->DeleteSegmentForURL(url_row.id());
403 restrict_urls.insert(url_row.url());
408 dependencies->deleted_urls.push_back(url_row);
412 thumb_db_->DeleteThumbnail(url_row.id());
416 if (thumb_db_->GetIconMappingsForPageURL(url_row
394 DeleteOneURL( const URLRow& url_row, bool is_bookmarked, DeleteDependencies* dependencies) argument
430 ArchiveOneURL(const URLRow& url_row) argument
486 URLRow& url_row = dependencies->affected_urls[i->first]; local
[all...]
H A Dexpire_history_backend_unittest.cc551 URLRow url_row; local
552 ASSERT_TRUE(main_db_->GetURLRow(url_ids[2], &url_row));
555 StarURL(url_row.url());
558 expirer_.DeleteURL(url_row.url());
561 GURL url = url_row.url();
562 ASSERT_TRUE(main_db_->GetRowForURL(url, &url_row));
565 FaviconID favicon_id = GetFavicon(url_row.url(), FAVICON);
569 ASSERT_EQ(0, CountTextMatchesForURL(url_row.url()));
573 main_db_->GetVisitsForURL(url_row.id(), &visits);
578 // ASSERT_TRUE(HasThumbnail(url_row
[all...]
H A Dhistory_unittest.cc205 const URLRow* url_row,
209 query_url_row_ = *url_row;
203 SaveURLAndQuit(HistoryService::Handle handle, bool success, const URLRow* url_row, VisitVector* visit_vector) argument
H A Dtext_database_manager.cc197 URLRow url_row; local
198 if (!url_database_->GetRowForURL(url, &url_row))
201 if (!visit_database_->GetMostRecentVisitForURL(url_row.id(), &visit))
216 AddPageData(url, url_row.id(), visit.visit_id, visit.visit_time,
244 URLRow url_row; local
245 if (!url_database_->GetRowForURL(url, &url_row))
248 if (!visit_database_->GetMostRecentVisitForURL(url_row.id(), &visit))
252 AddPageData(url, url_row.id(), visit.visit_id, visit.visit_time,
253 url_row.title(), body);
/external/chromium/chrome/browser/extensions/
H A Dextension_history_api.cc245 const history::URLRow* url_row,
242 QueryComplete( HistoryService::Handle request_service, bool success, const history::URLRow* url_row, history::VisitVector* visits) argument
/external/chromium_org/chrome/browser/extensions/api/history/
H A Dhistory_api.cc356 const history::URLRow* url_row,
353 QueryComplete( HistoryService::Handle request_service, bool success, const history::URLRow* url_row, history::VisitVector* visits) argument
/external/chromium_org/chrome/browser/predictors/
H A Dautocomplete_action_predictor.cc507 history::URLRow url_row; local
509 if ((url_db->GetRowForURL(it->first.url, &url_row) == 0) ||
510 ((base::Time::Now() - url_row.last_visit()).InDays() >
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_prompt_controller.cc331 const history::URLRow* url_row,
337 if (url_row->url() != url) {
328 OnDidQueryURL( CancelableRequestProvider::Handle handle, bool success, const history::URLRow* url_row, history::VisitVector* visits) argument
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider.cc250 const history::URLRow& url_row() const { return url_row_; } function in class:HistoryURLProvider::VisitClassifier
729 match->description = classifier.url_row().title();
730 RecordAdditionalInfoFromUrlRow(classifier.url_row(), match);
733 classifier.url_row().title(),
735 if (!classifier.url_row().typed_count()) {
785 CreateOrPromoteMatch(classifier.url_row(), string16::npos, false, matches,

Completed in 327 milliseconds

12