Home
last modified time | relevance | path

Searched refs:search_row (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/history/android/
Dandroid_history_provider_service_unittest.cc209 SearchRow search_row; in TEST_F() local
210 search_row.set_search_term(UTF8ToUTF16("google")); in TEST_F()
211 search_row.set_url(GURL("http://google.com")); in TEST_F()
212 search_row.set_template_url_id(1); in TEST_F()
213 search_row.set_search_time(Time::Now()); in TEST_F()
218 service_->InsertSearchTerm(search_row, &cancelable_consumer_, in TEST_F()
Dandroid_provider_backend.cc556 SearchRow search_row = row; in UpdateSearchTerms() local
560 search_term_row.term = search_row.search_term(); in UpdateSearchTerms()
561 if (!search_row.is_value_set_explicitly(SearchRow::SEARCH_TIME)) in UpdateSearchTerms()
562 search_row.set_search_time(search_term_row.last_visit_time); in UpdateSearchTerms()
564 search_term_row.last_visit_time = search_row.search_time(); in UpdateSearchTerms()
571 if (!AddSearchTerm(search_row)) in UpdateSearchTerms()
Dandroid_provider_backend_unittest.cc1334 SearchRow search_row; in TEST_F() local
1335 search_row.set_search_term(update_term); in TEST_F()
1336 search_row.set_url(GURL("http://google.com")); in TEST_F()
1337 search_row.set_template_url_id(1); in TEST_F()
1338 search_row.set_search_time(Time::Now() - TimeDelta::FromHours(1)); in TEST_F()
1340 ASSERT_TRUE(backend->UpdateSearchTerms(search_row, "search = ?", args, in TEST_F()
1355 ASSERT_TRUE(history_db_.GetRowForURL(search_row.url(), NULL)); in TEST_F()
1367 EXPECT_EQ(ToDatabaseTime(search_row.search_time()), in TEST_F()
1513 SearchRow search_row; in TEST_F() local
1514 search_row.set_search_term(UTF8ToUTF16("google")); in TEST_F()
[all …]