Searched refs:url_row (Results 1 - 15 of 15) sorted by relevance

/external/chromium/chrome/browser/history/
H A Dhistory_types_unittest.cc173 URLRow url_row(url);
174 url_row.set_title(UTF8ToUTF16("Google"));
175 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold));
176 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, base::Time()));
177 url_row.set_visit_count(kLowQualityMatchVisitLimit + 1);
178 EXPECT_TRUE(RowQualifiesAsSignificant(url_row, threshold));
179 EXPECT_TRUE(RowQualifiesAsSignificant(url_row, base::Time()));
180 url_row.set_visit_count(1);
181 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, threshold));
182 EXPECT_FALSE(RowQualifiesAsSignificant(url_row, bas
[all...]
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 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);
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 Dexpire_history_backend.h155 void DeleteOneURL(const URLRow& url_row,
164 URLID ArchiveOneURL(const URLRow& url_row);
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 Dhistory_backend.cc958 history::URLRow url_row; local
959 if (!db_->GetURLRow(count->first, &url_row)) {
962 DCHECK(count->second <= url_row.visit_count());
963 url_row.set_visit_count(url_row.visit_count() - count->second);
964 if (!db_->UpdateURLRow(url_row.id(), url_row)) {
974 bool HistoryBackend::GetURL(const GURL& url, history::URLRow* url_row) { argument
976 return db_->GetRowForURL(url, url_row) != 0;
1050 URLRow url_row;
1656 URLRow url_row; local
2029 URLRow url_row; 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 Din_memory_url_index.cc1042 const URLRow& url_row(iter->second);
1046 map_entry->set_visit_count(url_row.visit_count());
1047 map_entry->set_typed_count(url_row.typed_count());
1048 map_entry->set_last_visit(url_row.last_visit().ToInternalValue());
1049 map_entry->set_url(url_row.url().spec());
1050 map_entry->set_title(UTF16ToUTF8(url_row.title()));
1069 URLRow url_row(url, history_id);
1070 url_row.set_visit_count(iter->visit_count());
1071 url_row.set_typed_count(iter->typed_count());
1072 url_row
[all...]
H A Dtext_database_manager_unittest.cc331 URLRow url_row(url);
332 url_row.set_title(UTF8ToUTF16("chocolate"));
333 URLID url_id = visit_db.AddURL(url_row);
H A Dhistory_backend.h288 virtual bool GetURL(const GURL& url, history::URLRow* url_row);
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
/external/chromium/chrome/browser/extensions/
H A Dextension_history_api.h106 const history::URLRow* url_row,
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/chrome/browser/sync/
H A Dprofile_sync_service_typed_url_unittest.cc86 MOCK_METHOD2(GetURL, bool(const GURL& url_id, history::URLRow* url_row));

Completed in 100 milliseconds