/external/chromium_org/chrome/browser/history/android/ |
D | urls_sql_handler.cc | 46 url_row.set_visit_count(row->visit_count()); in Insert() 58 int visit_count = 0; in Insert() local 62 visit_count = 1; in Insert() 65 visit_count++; in Insert() 67 visit_count++; in Insert() 69 url_row.set_visit_count(visit_count); in Insert() 111 update_row.set_visit_count(row.visit_count()); in Update() 126 update_row.set_visit_count(url_row.visit_count() + 1); in Update() 131 row.visit_count() == 0) { in Update() 134 } else if (row.visit_count() > url_row.visit_count()) { in Update()
|
D | visit_sql_handler.cc | 53 int visit_count_needed = url_row.visit_count(); in Update() 88 int visit_count = url_row.visit_count(); in Insert() local 90 if (visit_count == 0) in Insert() 95 row->created() != url_row.last_visit() && visit_count > 0) { in Insert() 98 visit_count--; in Insert() 101 if (!AddVisitRows(row->url_id(), visit_count, url_row.last_visit())) in Insert() 124 int visit_count, in AddVisitRows() argument 127 for (int i = 0; i < visit_count; i++) { in AddVisitRows()
|
D | urls_sql_handler_unittest.cc | 64 EXPECT_EQ(0, url_row.visit_count()); in TEST_F() 84 EXPECT_EQ(1, url_row.visit_count()); in TEST_F() 103 EXPECT_EQ(2, url_row.visit_count()); in TEST_F() 122 EXPECT_EQ(1, url_row.visit_count()); in TEST_F() 141 EXPECT_EQ(1, url_row.visit_count()); in TEST_F() 160 EXPECT_EQ(10, url_row.visit_count()); in TEST_F() 179 EXPECT_EQ(10, url_row.visit_count()); in TEST_F() 192 EXPECT_EQ(1, url_row.visit_count()); in TEST_F() 212 EXPECT_EQ(10, url_row.visit_count()); in TEST_F() 225 EXPECT_EQ(11, url_row.visit_count()); in TEST_F() [all …]
|
D | android_history_types.h | 102 void set_visit_count(int visit_count) { in set_visit_count() argument 104 visit_count_ = visit_count; in set_visit_count() 106 int visit_count() const { in visit_count() function
|
D | visit_sql_handler_unittest.cc | 212 EXPECT_EQ(0, url_row.visit_count()); in TEST_F() 265 EXPECT_EQ(10, url_row.visit_count()); in TEST_F() 277 EXPECT_EQ(11, url_row.visit_count()); in TEST_F() 292 EXPECT_EQ(10, url_row.visit_count()); in TEST_F()
|
D | visit_sql_handler.h | 37 int visit_count,
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_prompt_controller_unittest.cc | 106 for (int visit_count = 1; in TEST_F() local 107 visit_count <= BookmarkPromptController::kVisitCountForSessionTrigger; in TEST_F() 108 ++visit_count) { in TEST_F() 124 for (int visit_count = 1; in TEST_F() local 125 visit_count < BookmarkPromptController::kVisitCountForPermanentTrigger; in TEST_F() 126 ++visit_count) { in TEST_F() 128 if (visit_count < BookmarkPromptController::kVisitCountForSessionTrigger) { in TEST_F()
|
/external/chromium_org/chrome/common/importer/ |
D | importer_url_row.cc | 8 : visit_count(0), in ImporterURLRow() 15 visit_count(0), in ImporterURLRow()
|
D | profile_import_process_messages.h | 88 WriteParam(m, p.visit_count); 96 int visit_count, typed_count; 101 !ReadParam(m, iter, &visit_count) || 108 p->visit_count = visit_count; 120 LogParam(p.visit_count, l);
|
D | importer_url_row.h | 24 int visit_count; member
|
/external/chromium_org/chrome/browser/history/ |
D | in_memory_database.cc | 95 sql::Statement visit_count(db_.GetUniqueStatement( in InitFromDisk() local 97 if (visit_count.Step()) { in InitFromDisk() 99 visit_count.ColumnInt(0)); in InitFromDisk()
|
D | history_unittest.cc | 1045 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1054 EXPECT_EQ(2, query_url_row_.visit_count()); // Added twice. in TEST_F() 1079 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1090 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1121 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1125 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1144 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1160 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1173 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 1186 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() [all …]
|
D | scored_history_match.cc | 243 if (m1.url_info.visit_count() != m2.url_info.visit_count()) in MatchScoreGreater() 244 return m1.url_info.visit_count() > m2.url_info.visit_count(); in MatchScoreGreater()
|
D | history_database.cc | 119 sql::Statement visit_count(db_.GetUniqueStatement( in ComputeDatabaseMetrics() local 121 if (!visit_count.Step()) in ComputeDatabaseMetrics() 123 UMA_HISTOGRAM_COUNTS("History.VisitTableCount", visit_count.ColumnInt(0)); in ComputeDatabaseMetrics()
|
D | expire_history_backend_unittest.cc | 561 EXPECT_EQ(2, url_row1.visit_count()); in TEST_F() 562 EXPECT_EQ(1, temp_row.visit_count()); in TEST_F() 608 EXPECT_EQ(2, url_row1.visit_count()); in TEST_F() 609 EXPECT_EQ(1, temp_row.visit_count()); in TEST_F() 656 EXPECT_EQ(2, url_row1.visit_count()); in TEST_F() 657 EXPECT_EQ(1, temp_row.visit_count()); in TEST_F() 703 EXPECT_EQ(1, new_url_row1.visit_count()); in TEST_F() 705 EXPECT_EQ(0, new_url_row2.visit_count()); in TEST_F()
|
D | expire_history_backend.cc | 456 ChangedURL() : visit_count(0), typed_count(0) {} in ChangedURL() 457 int visit_count; member 478 cur.visit_count++; in ExpireURLsForVisits() 513 std::max(0, url_row.visit_count() - i->second.visit_count)); in ExpireURLsForVisits()
|
/external/chromium/chrome/browser/history/ |
D | history_unittest.cc | 395 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 404 EXPECT_EQ(2, query_url_row_.visit_count()); // Added twice. in TEST_F() 428 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 436 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 447 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 474 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 484 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 513 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 517 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() 537 EXPECT_EQ(1, query_url_row_.visit_count()); in TEST_F() [all …]
|
D | history_database.cc | 53 sql::Statement visit_count(db.GetUniqueStatement( in ComputeDatabaseMetrics() local 55 if (!visit_count || !visit_count.Step()) in ComputeDatabaseMetrics() 57 UMA_HISTOGRAM_COUNTS("History.VisitTableCount", visit_count.ColumnInt(0)); in ComputeDatabaseMetrics()
|
D | expire_history_backend.cc | 454 ChangedURL() : visit_count(0), typed_count(0) {} in ChangedURL() 455 int visit_count; member 469 cur.visit_count++; in ExpireURLsForVisits() 509 std::max(0, url_row.visit_count() - i->second.visit_count)); in ExpireURLsForVisits()
|
D | history_types.h | 90 int visit_count() const { in visit_count() function 93 void set_visit_count(int visit_count) { in set_visit_count() argument 94 visit_count_ = visit_count; in set_visit_count()
|
/external/chromium/chrome/browser/sync/glue/ |
D | typed_url_change_processor.cc | 100 DCHECK(static_cast<size_t>(url->visit_count()) == visits.size()); in HandleURLsModified() 101 if (static_cast<size_t>(url->visit_count()) != visits.size()) { in HandleURLsModified() 169 DCHECK(static_cast<size_t>(details->row.visit_count()) == visits.size()); in HandleURLsVisited() 278 new_url.set_visit_count(old_url.visit_count()); in ApplyChangesFromSyncModel()
|
/external/chromium/chrome/browser/importer/ |
D | profile_import_process_messages.h | 81 WriteParam(m, p.visit_count()); 90 int visit_count, typed_count; 96 !ReadParam(m, iter, &visit_count) || 103 p->set_visit_count(visit_count); 117 LogParam(p.visit_count(), l);
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_url_provider.cc | 72 if (a.url_info.visit_count() != b.url_info.visit_count()) in CompareHistoryMatch() 73 return a.url_info.visit_count() > b.url_info.visit_count(); in CompareHistoryMatch() 517 const int min_visit_count = ((match.url_info.visit_count() - 1) / 3) + 1; in PromoteOrCreateShorterSuggestion() 780 !!info.visit_count(), AutocompleteMatch::HISTORY_URL); in HistoryMatchToACMatch()
|
D | history_quick_provider_unittest.cc | 35 int visit_count; member 138 url_info.set_visit_count(cur.visit_count); in FillData() 145 cur.visit_count, cur.typed_count, in FillData()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | history_url_provider.cc | 138 if (a.url_info.visit_count() != b.url_info.visit_count()) in CompareHistoryMatch() 139 return a.url_info.visit_count() > b.url_info.visit_count(); in CompareHistoryMatch() 186 match->RecordAdditionalInfo("visit count", info.visit_count()); in RecordAdditionalInfoFromUrlRow() 935 const int min_visit_count = ((match.url_info.visit_count() - 1) / 3) + 1; in PromoteOrCreateShorterSuggestion() 1048 !!info.visit_count(), AutocompleteMatchType::HISTORY_URL); in HistoryMatchToACMatch()
|