/external/chromium_org/chrome/browser/history/ |
D | visit_database_unittest.cc | 30 a.visit_time == b.visit_time && in IsVisitInfoEqual() 79 visit_info1.visit_time + TimeDelta::FromSeconds(1), 1, in TEST_F() 85 visit_info1.visit_time + TimeDelta::FromSeconds(2), 0, in TEST_F() 148 modification.visit_time = Time::Now() + TimeDelta::FromDays(1); in TEST_F() 178 visit_info1.visit_time + TimeDelta::FromSeconds(1), 1, in GetTestVisitRows() 188 visit_info1.visit_time + TimeDelta::FromSeconds(2), 0, in GetTestVisitRows() 197 visit_info1.visit_time + TimeDelta::FromSeconds(3), visit_info3.visit_id, in GetTestVisitRows() 206 visit_info1.visit_time + TimeDelta::FromSeconds(4), visit_info4.visit_id, in GetTestVisitRows() 217 visit_info2.visit_time + TimeDelta::FromDays(1), 1, in GetTestVisitRows() 248 times.push_back(test_visit_rows[i].visit_time); in TEST_F() [all …]
|
D | visit_filter_unittest.cc | 257 visit.visit_time = filter_time; in TEST_F() 260 visit.visit_time = filter_time - base::TimeDelta::FromDays(7); in TEST_F() 263 visit.visit_time = filter_time + base::TimeDelta::FromDays(1); in TEST_F() 268 visit.visit_time = filter_time; in TEST_F() 270 visit.visit_time = filter_time - base::TimeDelta::FromDays(7); in TEST_F() 272 visit.visit_time = filter_time + base::TimeDelta::FromDays(7); in TEST_F() 276 visit.visit_time = filter_time; in TEST_F() 280 visit.visit_time = filter_time + base::TimeDelta::FromMinutes(30); in TEST_F() 284 visit.visit_time = filter_time - base::TimeDelta::FromDays(7); in TEST_F() 289 visit.visit_time = filter_time - base::TimeDelta::FromDays(7) - in TEST_F() [all …]
|
D | typed_url_syncable_service_unittest.cc | 107 int64 visit_time); 112 int64 visit_time); 185 int64 visit_time) { in AddNewestVisit() argument 186 base::Time time = base::Time::FromInternalValue(visit_time); in AddNewestVisit() 202 int64 visit_time) { in AddOldestVisit() argument 203 base::Time time = base::Time::FromInternalValue(visit_time); in AddOldestVisit() 287 EXPECT_EQ(visits[0].visit_time.ToInternalValue(), url_specifics.visits(0)); in TEST_F() 337 EXPECT_EQ(visits[0].visit_time.ToInternalValue(), url_specifics.visits(1)); in TEST_F() 340 EXPECT_EQ(visits[1].visit_time.ToInternalValue(), url_specifics.visits(0)); in TEST_F() 417 EXPECT_EQ(visits[i].visit_time.ToInternalValue(), url_specifics.visits(r)); in TEST_F()
|
D | typed_url_syncable_service.cc | 52 if (previous_visit_time == visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 54 else if (previous_visit_time > visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 58 previous_visit_time = visit->visit_time.ToInternalValue(); in CheckVisitOrdering() 331 visits.back().visit_time.ToInternalValue()); in WriteToTypedUrlSpecifics() 391 typed_url->add_visits(visit->visit_time.ToInternalValue()); in WriteToTypedUrlSpecifics() 440 url->set_last_visit(visits->back().visit_time); in FixupURLAndGetVisits()
|
D | history_querying_unittest.cc | 63 if (result.visit_time() != test_entries[test_entry_index].time) in NthResultIs() 110 options.end_time = results.back().visit_time(); in TestPaging() 124 options.end_time = results.back().visit_time(); in TestPaging() 140 ASSERT_NE(options.end_time, results.back().visit_time()); in TestPaging() 141 options.end_time = results.back().visit_time(); in TestPaging()
|
D | visit_database.cc | 88 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); in FillVisitRow() 127 found_urls_midnight != visit.visit_time.LocalMidnight()) { in FillVisitVectorWithOptions() 129 found_urls_midnight = visit.visit_time.LocalMidnight(); in FillVisitVectorWithOptions() 150 statement.BindInt64(1, visit->visit_time.ToInternalValue()); in AddVisit() 236 statement.BindInt64(1, visit.visit_time.ToInternalValue()); in UpdateVisitRow()
|
D | visit_filter.cc | 127 base::TimeDelta time_passed = filter_time_ - visit.visit_time; in GetVisitScore() 145 visit.visit_time).InMicroseconds(); in GetVisitScore() 154 visit.visit_time); in GetVisitScore()
|
D | history_notifications.h | 36 base::Time visit_time; member
|
D | history_backend.cc | 414 visit_row.visit_duration = end_ts > visit_row.visit_time ? in UpdateVisitDuration() 415 end_ts - visit_row.visit_time : TimeDelta::FromMicroseconds(0); in UpdateVisitDuration() 801 if (visit_info.visit_time < first_recorded_time_) in AddPageVisit() 802 first_recorded_time_ = visit_info.visit_time; in AddPageVisit() 812 details->visit_time = time; in AddPageVisit() 867 if (visit_info.visit_time < first_recorded_time_) in AddPagesWithDetails() 868 first_recorded_time_ = visit_info.visit_time; in AddPagesWithDetails() 1251 url_result.set_visit_time(visit.visit_time); in QueryHistoryBasic() 1282 url_result.set_visit_time(visits[j].visit_time); in QueryHistoryText() 1418 if (visits[i].visit_time > url.extended_info.last_visit_time) { in QueryFilteredURLs() [all …]
|
D | expire_history_backend_unittest.cc | 228 visit_row1.visit_time = visit_times[0]; in AddExampleData() 233 visit_row2.visit_time = visit_times[1]; in AddExampleData() 238 visit_row3.visit_time = visit_times[2]; in AddExampleData() 244 visit_row4.visit_time = visit_times[3]; in AddExampleData() 776 EXPECT_EQ(visit_times[2], visits[0].visit_time); in TEST_F()
|
D | history_database.cc | 165 base::Time visit_time = in ComputeDatabaseMetrics() local 169 if (visit_time > one_week_ago) { in ComputeDatabaseMetrics()
|
D | history_unittest.cc | 1706 query_url_visits_[0].visit_time); in TEST_F() 1708 query_url_visits_[1].visit_time); in TEST_F() 1710 query_url_visits_[2].visit_time); in TEST_F() 1712 query_url_visits_[3].visit_time); in TEST_F() 1714 query_url_visits_[4].visit_time); in TEST_F() 1791 query_url_visits_[0].visit_time); in TEST_F() 1793 query_url_visits_[1].visit_time); in TEST_F() 1795 query_url_visits_[2].visit_time); in TEST_F()
|
D | in_memory_url_index_cache.proto | 59 required int64 visit_time = 1; field
|
/external/chromium_org/components/history/core/browser/ |
D | url_row.cc | 64 URLResult::URLResult(const GURL& url, base::Time visit_time) in URLResult() argument 66 visit_time_(visit_time), in URLResult() 93 return lhs.visit_time() > rhs.visit_time(); in CompareVisitTime()
|
D | url_row.h | 164 URLResult(const GURL& url, base::Time visit_time); 172 base::Time visit_time() const { return visit_time_; } in visit_time() function 173 void set_visit_time(base::Time visit_time) { visit_time_ = visit_time; } in set_visit_time() argument
|
D | history_types.h | 93 base::Time visit_time; variable 114 return visit_time < other.visit_time; 134 base::Time visit_time; member
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | typed_url_model_associator.cc | 49 if (previous_visit_time == visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 51 else if (previous_visit_time > visit->visit_time.ToInternalValue()) in CheckVisitOrdering() 55 previous_visit_time = visit->visit_time.ToInternalValue(); in CheckVisitOrdering() 117 url->set_last_visit(visits->back().visit_time); in FixupURLAndGetVisits() 281 it != visits.end() && it->visit_time < earliest_visit; ) { in DoAssociateModels() 289 visits.back().visit_time.ToInternalValue()); in DoAssociateModels() 607 base::Time earliest_history_time = (*visits)[0].visit_time; in MergeUrls() 617 history_time = (*visits)[history_visit_index].visit_time; in MergeUrls() 657 new_visit->first > visit_ix->visit_time) { in MergeUrls() 668 new_url->set_last_visit(visits->back().visit_time); in MergeUrls() [all …]
|
D | typed_url_model_associator_unittest.cc | 214 EXPECT_EQ(2U, history_visits[0].visit_time.ToInternalValue()); in TEST_F() 215 EXPECT_EQ(3U, history_visits[1].visit_time.ToInternalValue()); in TEST_F() 216 EXPECT_EQ(4U, history_visits[2].visit_time.ToInternalValue()); in TEST_F() 274 EXPECT_EQ(removed_visits[c].visit_time.ToInternalValue(), in TEST_F()
|
/external/chromium_org/chrome/browser/history/android/ |
D | visit_sql_handler_unittest.cc | 87 EXPECT_EQ(row.last_visit_time(), visits[0].visit_time); in TEST_F() 107 EXPECT_EQ(row.created(), visits[0].visit_time); in TEST_F() 126 EXPECT_NE(Time(), visits[0].visit_time); in TEST_F() 150 EXPECT_EQ(row.created(), visits[0].visit_time); in TEST_F() 152 EXPECT_EQ(row.last_visit_time(), visits[9].visit_time); in TEST_F() 184 EXPECT_EQ(update_row.last_visit_time(), visits[0].visit_time); in TEST_F() 249 EXPECT_EQ(update_row.created(), visits[0].visit_time); in TEST_F() 250 EXPECT_EQ(update_row.last_visit_time(), visits[10].visit_time); in TEST_F()
|
D | visit_sql_handler.cc | 115 bool VisitSQLHandler::AddVisit(URLID url_id, const Time& visit_time) { in AddVisit() argument 118 VisitRow visit_row(url_id, visit_time, 0, in AddVisit()
|
D | visit_sql_handler.h | 32 bool AddVisit(URLID url_id, const base::Time& visit_time);
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | history_ui.cc | 200 base::string16 getRelativeDateLocalized(const base::Time& visit_time) { in getRelativeDateLocalized() argument 202 base::string16 date_str = ui::TimeFormat::RelativeDate(visit_time, &midnight); in getRelativeDateLocalized() 204 date_str = base::TimeFormatFriendlyDate(visit_time); in getRelativeDateLocalized() 209 base::TimeFormatFriendlyDate(visit_time)); in getRelativeDateLocalized() 596 base::Time visit_time = base::Time::FromJsTime(timestamp); in HandleRemoveVisits() local 601 expire_args->SetTimeRangeForOneDay(visit_time); in HandleRemoveVisits() 606 global_id_directive->add_global_id(visit_time.ToInternalValue()); in HandleRemoveVisits() 784 page.visit_time(), in QueryComplete() 847 base::Time visit_time; in WebHistoryQueryComplete() local
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | typed_urls_helper.cc | 351 if (visit1[i].visit_time != visit2[i].visit_time) in AreVisitsEqual() 360 if (t == visits[i].visit_time) in AreVisitsUnique() 362 t = visits[i].visit_time; in AreVisitsUnique()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | history_quick_provider_unittest.cc | 221 Time visit_time = Time::Now() - TimeDelta::FromDays(cur.days_from_now); in FillData() local 230 cur.typed_count, visit_time.ToInternalValue()); in FillData() 238 visit_time -= TimeDelta::FromDays(1); in FillData() 244 visit_id++, i + 1, visit_time.ToInternalValue(), in FillData()
|
/external/chromium_org/chrome/browser/predictors/ |
D | autocomplete_action_predictor_unittest.cc | 137 const base::Time visit_time = in AddRowToHistory() local 143 row.set_last_visit(visit_time); in AddRowToHistory()
|