/external/chromium/chrome/browser/history/ |
H A D | history_types_unittest.cc | 173 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 D | expire_history_backend.cc | 192 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 D | text_database_manager.cc | 197 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 D | in_memory_history_backend.cc | 174 URLRow url_row; local 176 if (!db_->GetRowForURL(details.url, &url_row)) { 186 url_id = url_row.id();
|
H A D | expire_history_backend.h | 155 void DeleteOneURL(const URLRow& url_row, 164 URLID ArchiveOneURL(const URLRow& url_row);
|
H A D | starred_url_database.cc | 276 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 D | history_backend.cc | 958 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 D | expire_history_backend_unittest.cc | 551 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 D | in_memory_url_index.cc | 1042 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 D | text_database_manager_unittest.cc | 331 URLRow url_row(url); 332 url_row.set_title(UTF8ToUTF16("chocolate")); 333 URLID url_id = visit_db.AddURL(url_row);
|
H A D | history_backend.h | 288 virtual bool GetURL(const GURL& url, history::URLRow* url_row);
|
H A D | history_unittest.cc | 205 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 D | extension_history_api.h | 106 const history::URLRow* url_row,
|
H A D | extension_history_api.cc | 245 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 D | profile_sync_service_typed_url_unittest.cc | 86 MOCK_METHOD2(GetURL, bool(const GURL& url_id, history::URLRow* url_row));
|