/external/chromium_org/chrome/common/importer/ |
importer_url_row.cc | 8 : visit_count(0), 15 visit_count(0),
|
importer_url_row.h | 24 int visit_count; member in struct:ImporterURLRow
|
profile_import_process_messages.h | 88 WriteParam(m, p.visit_count); 96 int visit_count, typed_count; local 101 !ReadParam(m, iter, &visit_count) || 108 p->visit_count = visit_count; 120 LogParam(p.visit_count, l);
|
/external/chromium_org/chrome/browser/history/android/ |
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...] |
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...] |
urls_sql_handler_unittest.cc | 64 EXPECT_EQ(0, url_row.visit_count()); 84 EXPECT_EQ(1, url_row.visit_count()); 103 EXPECT_EQ(2, url_row.visit_count()); 122 EXPECT_EQ(1, url_row.visit_count()); 141 EXPECT_EQ(1, url_row.visit_count()); 160 EXPECT_EQ(10, url_row.visit_count()); 179 EXPECT_EQ(10, url_row.visit_count()); 192 EXPECT_EQ(1, url_row.visit_count()); 197 // Update the both time to verify the created time is not impact to visit_count 212 EXPECT_EQ(10, url_row.visit_count()); [all...] |
visit_sql_handler.h | 34 // Add the given |visit_count| rows for |url_id|. The visit time of each row 37 int visit_count,
|
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
|
visit_sql_handler_unittest.cc | 212 EXPECT_EQ(0, url_row.visit_count()); 265 EXPECT_EQ(10, url_row.visit_count()); 277 EXPECT_EQ(11, url_row.visit_count()); 292 EXPECT_EQ(10, url_row.visit_count());
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_prompt_controller_unittest.cc | 106 for (int visit_count = 1; 107 visit_count <= BookmarkPromptController::kVisitCountForSessionTrigger; 108 ++visit_count) { 124 for (int visit_count = 1; 125 visit_count < BookmarkPromptController::kVisitCountForPermanentTrigger; 126 ++visit_count) { 128 if (visit_count < BookmarkPromptController::kVisitCountForSessionTrigger) {
|
/external/chromium_org/chrome/browser/history/ |
in_memory_database.cc | 95 sql::Statement visit_count(db_.GetUniqueStatement( 96 "SELECT sum(visit_count) FROM urls")); 97 if (visit_count.Step()) { 99 visit_count.ColumnInt(0)); 106 "INSERT OR IGNORE INTO urls SELECT u.id, u.url, u.title, u.visit_count, "
|
history_unittest.cc | [all...] |
history_database.cc | 119 sql::Statement visit_count(db_.GetUniqueStatement( 121 if (!visit_count.Step()) 123 UMA_HISTOGRAM_COUNTS("History.VisitTableCount", visit_count.ColumnInt(0));
|
scored_history_match.cc | 243 if (m1.url_info.visit_count() != m2.url_info.visit_count()) 244 return m1.url_info.visit_count() > m2.url_info.visit_count();
|
expire_history_backend_unittest.cc | 561 EXPECT_EQ(2, url_row1.visit_count()); 562 EXPECT_EQ(1, temp_row.visit_count()); 608 EXPECT_EQ(2, url_row1.visit_count()); 609 EXPECT_EQ(1, temp_row.visit_count()); 656 EXPECT_EQ(2, url_row1.visit_count()); 657 EXPECT_EQ(1, temp_row.visit_count()); 703 EXPECT_EQ(1, new_url_row1.visit_count()); 705 EXPECT_EQ(0, new_url_row2.visit_count()); [all...] |
/external/chromium/chrome/browser/history/ |
history_database.cc | 53 sql::Statement visit_count(db.GetUniqueStatement( 55 if (!visit_count || !visit_count.Step()) 57 UMA_HISTOGRAM_COUNTS("History.VisitTableCount", visit_count.ColumnInt(0));
|
history_unittest.cc | 395 EXPECT_EQ(1, query_url_row_.visit_count()); 404 EXPECT_EQ(2, query_url_row_.visit_count()); // Added twice. 428 EXPECT_EQ(1, query_url_row_.visit_count()); 436 EXPECT_EQ(1, query_url_row_.visit_count()); 447 EXPECT_EQ(1, query_url_row_.visit_count()); 474 EXPECT_EQ(1, query_url_row_.visit_count()); 484 EXPECT_EQ(1, query_url_row_.visit_count()); 513 EXPECT_EQ(1, query_url_row_.visit_count()); 517 EXPECT_EQ(1, query_url_row_.visit_count()); 537 EXPECT_EQ(1, query_url_row_.visit_count()); [all...] |
history_types.h | 90 int visit_count() const { function in class:history::URLRow 93 void set_visit_count(int visit_count) { 94 visit_count_ = visit_count;
|
url_database_unittest.cc | 28 a.visit_count() == b.visit_count() &&
|
visitsegment_database.cc | 32 // visit_count Number of visit in the segment 71 "visit_count INTEGER DEFAULT 0 NOT NULL)")) { 197 "SELECT id, visit_count FROM segment_usage " 206 "UPDATE segment_usage SET visit_count = ? WHERE id = ?")); 217 "(segment_id, time_slot, visit_count) VALUES (?, ?, ?)")); 242 "SELECT segment_id, time_slot, visit_count " 272 int visit_count = statement.ColumnInt(2); local 276 float day_visits_score = 1.0f + log(static_cast<float>(visit_count));
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
website_settings.h | 89 int visit_count,
|
/external/chromium/chrome/browser/autocomplete/ |
history_url_provider.cc | 72 if (a.url_info.visit_count() != b.url_info.visit_count()) 73 return a.url_info.visit_count() > b.url_info.visit_count(); 517 const int min_visit_count = ((match.url_info.visit_count() - 1) / 3) + 1; 681 // http://htaccess.com (!innermost_match, url_info.visit_count == 2) 682 // http://http.com (!innermost_match, url_info.visit_count == 1) [all...] |
history_quick_provider_unittest.cc | 35 int visit_count; member in struct:TestURLInfo 138 url_info.set_visit_count(cur.visit_count); 145 cur.visit_count, cur.typed_count,
|
/external/chromium/chrome/browser/sync/glue/ |
typed_url_change_processor.cc | 100 DCHECK(static_cast<size_t>(url->visit_count()) == visits.size()); 101 if (static_cast<size_t>(url->visit_count()) != visits.size()) { 169 DCHECK(static_cast<size_t>(details->row.visit_count()) == visits.size()); 278 new_url.set_visit_count(old_url.visit_count());
|
/external/chromium_org/chrome/browser/autocomplete/ |
history_quick_provider.cc | 256 this, score, !!info.visit_count(), 302 match.RecordAdditionalInfo("visit count", info.visit_count());
|