Home
last modified time | relevance | path

Searched refs:update_row (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/history/android/
Dvisit_sql_handler_unittest.cc170 HistoryAndBookmarkRow update_row; in TEST_F() local
171 update_row.set_last_visit_time(Time::Now()); in TEST_F()
172 update_row.set_visit_count(1); in TEST_F()
178 ASSERT_TRUE(urls_sql_handler_.Update(update_row, ids)); in TEST_F()
179 ASSERT_TRUE(visit_sql_handler_.Update(update_row, ids)); in TEST_F()
184 EXPECT_EQ(update_row.last_visit_time(), visits[0].visit_time); in TEST_F()
202 HistoryAndBookmarkRow update_row; in TEST_F() local
203 update_row.set_visit_count(0); in TEST_F()
208 ASSERT_TRUE(urls_sql_handler_.Update(update_row, ids)); in TEST_F()
209 ASSERT_TRUE(visit_sql_handler_.Update(update_row, ids)); in TEST_F()
[all …]
Durls_sql_handler_unittest.cc182 HistoryAndBookmarkRow update_row; in TEST_F() local
183 update_row.set_last_visit_time(Time::Now()); in TEST_F()
184 update_row.set_visit_count(1); in TEST_F()
185 update_row.set_title(UTF8ToUTF16("Google Inc")); in TEST_F()
190 ASSERT_TRUE(urls_sql_handler_.Update(update_row, ids)); in TEST_F()
193 EXPECT_EQ(update_row.last_visit_time(), url_row.last_visit()); in TEST_F()
194 EXPECT_EQ(update_row.title(), url_row.title()); in TEST_F()
228 HistoryAndBookmarkRow update_row; in TEST_F() local
229 update_row.set_created(Time::Now()); in TEST_F()
230 ASSERT_TRUE(urls_sql_handler_.Update(update_row, ids)); in TEST_F()
[all …]
Durls_sql_handler.cc105 URLRow update_row = url_row; in Update() local
108 update_row.set_title(row.title()); in Update()
111 update_row.set_visit_count(row.visit_count()); in Update()
117 update_row.set_last_visit(row.last_visit_time()); in Update()
126 update_row.set_visit_count(url_row.visit_count() + 1); in Update()
133 update_row.set_last_visit(Time()); in Update()
135 update_row.set_last_visit(Time::Now()); in Update()
139 if (!history_db_->UpdateURLRow(ids->url_id, update_row)) in Update()
Dandroid_history_provider_service_unittest.cc190 HistoryAndBookmarkRow update_row; in TEST_F() local
191 update_row.set_visit_count(3); in TEST_F()
192 service_->UpdateHistoryAndBookmarks(update_row, std::string(), in TEST_F()
246 SearchRow update_row; in TEST_F() local
247 update_row.set_search_time(Time::Now()); in TEST_F()
248 service_->UpdateSearchTerms(update_row, std::string(), in TEST_F()
/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor_unittest.cc259 AutocompleteActionPredictorTable::Row update_row; in TEST_F() local
260 update_row.id = id_it->second; in TEST_F()
261 update_row.user_text = key.user_text; in TEST_F()
262 update_row.url = key.url; in TEST_F()
263 update_row.number_of_hits = it->second.number_of_hits + 1; in TEST_F()
264 update_row.number_of_misses = it->second.number_of_misses + 2; in TEST_F()
266 UpdateRow(update_row); in TEST_F()
272 EXPECT_EQ(update_row.number_of_hits, update_it->second.number_of_hits); in TEST_F()
273 EXPECT_EQ(update_row.number_of_misses, update_it->second.number_of_misses); in TEST_F()
/external/chromium_org/third_party/sqlite/src/test/
Dfts3rnd.test137 proc update_row {rowid} {
305 update_row $iUpdate