/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 | 180 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 197 HistoryAndBookmarkRow::VISIT_COUNT)); 213 EXPECT_EQ(row.visit_count(), cursor->GetInt(env, NULL, 2));
|
android_provider_backend.cc | 35 "urls.visit_count AS visits, " 85 // visit_count. 101 if (row.is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT) && 106 (row.visit_count() == 0 || row.visit_count() == 1)) 110 row.created().ToInternalValue() < row.visit_count()) 371 row.is_value_set_explicitly(HistoryAndBookmarkRow::VISIT_COUNT) || 989 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); [all...] |
android_provider_backend_unittest.cc | 448 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 537 EXPECT_EQ(row1.visit_count(), 538 delegate_.modified_details()->changed_urls[0].visit_count()); 570 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); 584 EXPECT_EQ(row1.visit_count(), statement->statement()->ColumnInt(5)); 680 projections.push_back(HistoryAndBookmarkRow::VISIT_COUNT); [all...] |