/external/chromium_org/chrome/browser/history/ |
H A D | scored_history_match.cc | 490 for (int days_ago = 0; days_ago < kDaysToPrecomputeRecencyScoresFor; 491 days_ago++) { 493 if (days_ago <= 4) { 495 } else if (days_ago <= 14) { 498 unnormalized_recency_score = 70 + (14 - days_ago) * (100 - 70) / (14 - 4); 499 } else if (days_ago <= 31) { 502 unnormalized_recency_score = 50 + (31 - days_ago) * (70 - 50) / (31 - 14); 503 } else if (days_ago <= 90) { 506 unnormalized_recency_score = 30 + (90 - days_ago) * (5 [all...] |
H A D | visitsegment_database.cc | 242 int days_ago = (now - timeslot).InDays(); local 251 float recency_boost = 1.0f + (2.0f * (1.0f / (1.0f + days_ago/7.0f)));
|
H A D | history_querying_unittest.cc | 30 const int days_ago; member in struct:history::__anon4097::TestEntry 178 now - (test_entries[i].days_ago * TimeDelta::FromDays(1));
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | fullstream_ui_policy.h | 37 const int days_ago, 112 const int days_ago);
|
H A D | activity_log_policy.cc | 149 int days_ago, 153 if (days_ago == 0) { 157 base::Time early_time = Util::AddDays(morning_midnight, -days_ago); 148 ComputeDatabaseTimeBounds(const base::Time& now, int days_ago, int64* early_bound, int64* late_bound) argument
|
H A D | counting_policy.h | 36 const int days_ago, 95 const int days_ago);
|
H A D | fullstream_ui_policy.cc | 127 const int days_ago) { 160 if (days_ago >= 0) 180 if (days_ago >= 0) { 183 Util::ComputeDatabaseTimeBounds(Now(), days_ago, &early_bound, &late_bound); local 396 const int days_ago, 409 days_ago), 121 DoReadFilteredData( const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago) argument 390 ReadFilteredData( const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago, const base::Callback <void(scoped_ptr<Action::ActionVector>)>& callback) argument
|
H A D | activity_log_policy.h | 113 // cover a time range days_ago days in the past, relative to the specified 116 int days_ago, 176 const int days_ago,
|
H A D | counting_policy.cc | 425 const int days_ago) { 458 if (days_ago >= 0) 480 if (days_ago >= 0) { 483 Util::ComputeDatabaseTimeBounds(Now(), days_ago, &early_bound, &late_bound); local 721 const int days_ago, 734 days_ago), 419 DoReadFilteredData( const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago) argument 715 ReadFilteredData( const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago, const base::Callback <void(scoped_ptr<Action::ActionVector>)>& callback) argument
|
H A D | activity_log.h | 82 const int days_ago,
|
H A D | fullstream_ui_policy_unittest.cc | 87 const int days_ago, 98 days_ago, 80 CheckReadFilteredData( ActivityLogDatabasePolicy* policy, const std::string& extension_id, const Action::ActionType type, const std::string& api_name, const std::string& page_url, const std::string& arg_url, const int days_ago, const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) argument
|
/external/chromium_org/chrome/browser/extensions/api/activity_log_private/ |
H A D | activity_log_private_api.cc | 138 int days_ago = -1; local 139 if (filter->days_ago.get()) 140 days_ago = *filter->days_ago; 151 days_ago,
|
/external/chromium_org/components/history/core/browser/ |
H A D | history_types.cc | 162 void QueryOptions::SetRecentDayRange(int days_ago) { argument 164 begin_time = end_time - base::TimeDelta::FromDays(days_ago);
|
H A D | history_types.h | 256 // Sets the query time to the last |days_ago| days to the present time. 257 void SetRecentDayRange(int days_ago);
|