/external/chromium_org/chrome/browser/history/android/ |
urls_sql_handler.cc | 17 HistoryAndBookmarkRow::URL, HistoryAndBookmarkRow::VISIT_COUNT, 45 if (row->is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT)) 46 url_row.set_visit_count(row->visit_count()); 52 else if (row->is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT)) 56 // Adjust the visit_count if it not set. 57 if (!row->is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT)) { 58 int visit_count = 0; local 62 visit_count = 1; 65 visit_count++; 67 visit_count++ [all...] |
android_history_types_unittest.cc | 22 EXPECT_EQ(HistoryAndBookmarkRow::VISIT_COUNT,
|
visit_sql_handler.cc | 18 HistoryAndBookmarkRow::CREATED, HistoryAndBookmarkRow::VISIT_COUNT, 53 int visit_count_needed = url_row.visit_count(); 88 int visit_count = url_row.visit_count(); local 90 if (visit_count == 0) 95 row->created() != url_row.last_visit() && visit_count > 0) { 98 visit_count--; 101 if (!AddVisitRows(row->url_id(), visit_count, url_row.last_visit())) 124 int visit_count, 127 for (int i = 0; i < visit_count; i++) [all...] |
android_history_types.h | 39 VISIT_COUNT, 102 void set_visit_count(int visit_count) { 103 set_value_explicitly(VISIT_COUNT); 104 visit_count_ = visit_count; 106 int visit_count() const { function in class:history::HistoryAndBookmarkRow
|
sqlite_cursor_unittest.cc | 177 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 194 HistoryAndBookmarkRow::VISIT_COUNT)); 210 EXPECT_EQ(row.visit_count(), cursor->GetInt(env, NULL, 2));
|
android_provider_backend.cc | 34 "urls.visit_count AS visits, " 84 // visit_count. 100 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT) && 105 (row.visit_count() == 0 || row.visit_count() == 1)) 109 row.created().ToInternalValue() < row.visit_count()) 343 row.is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT) || 956 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); [all...] |
android_provider_backend_unittest.cc | 433 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 519 EXPECT_EQ(row1.visit_count(), 520 delegate_.modified_details()->changed_urls[0].visit_count()); 552 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 566 EXPECT_EQ(row1.visit_count(), statement->statement()->ColumnInt(5)); 659 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); [all...] |