/external/chromium_org/chrome/browser/extensions/api/dial/ |
H A D | dial_registry.cc | 165 Time now = Now(); local 169 if (now > default_expiration_time) 176 if (now > max_age_expiration_time)
|
/external/chromium_org/chrome/browser/extensions/api/runtime/ |
H A D | chrome_runtime_api_delegate.cc | 95 base::TimeTicks now = base::TimeTicks::Now(); local 97 (now - reload_info.first).InMilliseconds() > kFastReloadTime) { 104 now - reload_info.first); 108 reload_info.first = now;
|
/external/chromium_org/chrome/browser/extensions/updater/ |
H A D | local_extension_cache.cc | 85 base::Time now = base::Time::Now(); local 88 it->second.file_path, now)); 89 it->second.last_used = now; 266 // Create it now. 433 // Time from file system can have lower precision so use precise "now".
|
/external/chromium_org/chrome/browser/history/ |
H A D | scored_history_match_unittest.cc | 19 // last |frequency|*|num_visits| days (relative to |now|). A frequency of 23 base::Time now) { 27 std::make_pair(now - base::TimeDelta::FromDays(i * frequency), 117 base::Time now = base::Time::NowFromSystemTime(); local 123 VisitInfoVector visits_a = CreateVisitInfoVector(3, 30, now); 128 one_word_no_offset, word_starts_a, now, NULL); 134 VisitInfoVector visits_b = CreateVisitInfoVector(10, 30, now); 138 one_word_no_offset, word_starts_b, now, NULL); 145 VisitInfoVector visits_c = CreateVisitInfoVector(3, 10, now); 149 one_word_no_offset, word_starts_c, now, NUL 21 CreateVisitInfoVector(int num_visits, int frequency, base::Time now) argument 187 base::Time now = base::Time::NowFromSystemTime(); local 212 base::Time now = base::Time::NowFromSystemTime(); local 238 base::Time now = base::Time::NowFromSystemTime(); local 264 base::Time now = base::Time::NowFromSystemTime(); local [all...] |
H A D | visitsegment_database.cc | 222 base::Time now = base::Time::Now(); local 242 int days_ago = (now - timeslot).InDays();
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | perf_provider_chromeos.cc | 282 base::TimeTicks now = base::TimeTicks::Now(); local 283 if (scheduled_time < now) 284 scheduled_time = now; 286 timer_.Start(FROM_HERE, scheduled_time - now, this,
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | cloud_policy_browsertest.cc | 369 base::TimeDelta now = local 374 now.InMicroseconds() /* version */, 483 // They should now serialize to the same bytes.
|
/external/chromium_org/chrome/browser/prefs/ |
H A D | session_startup_pref.cc | 163 // below if migration occurs now. 182 base::Time now = base::Time::Now(); local 184 now.ToInternalValue()); 185 if (now < last_migration_time) 186 last_migration_time = now; 188 now - last_migration_time, 253 // The default startup pref used to be LAST, now it is DEFAULT. Don't change
|
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_tab_helper.cc | 120 base::TimeTicks now = base::TimeTicks::Now(); local 125 origin_, now - pplt_load_start_, url_); 132 double plt = (now - actual_load_start_).InMillisecondsF(); 135 (now - pplt_load_start_).InMillisecondsF() / plt; 144 now - pplt_load_start_, fraction_elapsed_at_swapin); 221 // rebase the start time to now.
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_metrics.cc | 51 base::Time now = base::Time::Now(); local 57 base::TimeDelta time_since_lock = now -
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | protocol_manager_unittest.cc | 216 Time now = Time::Now(); local 219 pm->HandleGetHashError(now); 222 Time future = now + TimeDelta::FromMinutes(1); 227 pm->HandleGetHashError(now); 229 EXPECT_TRUE(pm->next_gethash_time_ >= now + TimeDelta::FromMinutes(30)); 230 EXPECT_TRUE(pm->next_gethash_time_ <= now + TimeDelta::FromMinutes(60)); 233 pm->HandleGetHashError(now); 235 EXPECT_TRUE(pm->next_gethash_time_ >= now + TimeDelta::FromMinutes(60)); 236 EXPECT_TRUE(pm->next_gethash_time_ <= now + TimeDelta::FromMinutes(120)); 239 pm->HandleGetHashError(now); [all...] |
H A D | safe_browsing_store_unittest.cc | 295 const base::Time now = base::Time::Now(); local 296 const base::Time future = now + base::TimeDelta::FromDays(3*365);
|
/external/chromium_org/chrome/browser/search/suggestions/ |
H A D | suggestions_source.cc | 51 int64 now = (base::Time::NowFromSystemTime() - base::Time::UnixEpoch()) local 57 suggestion.expiry_ts() - now);
|
/external/chromium_org/chrome/browser/ssl/ |
H A D | chrome_ssl_host_state_delegate.cc | 183 base::Time now = clock_->Now(); local 208 decision_expiration.ToInternalValue() <= now.ToInternalValue()) { 216 now + default_ssl_cert_decision_expiration_delta_; 388 // For now, RevokeUserAllowExceptionsHard is our solution for the rare case
|
/external/chromium_org/chrome/browser/sync_file_system/ |
H A D | sync_process_runner.cc | 119 base::TimeTicks now = timer_helper_->Now(); local 120 base::TimeDelta elapsed = std::min(now, throttle_until_) - throttle_from_; 123 throttle_from_ = now; 134 std::min(now + max_delay, 135 std::max(now + base_delay_delta, throttle_until_ + 2 * elapsed)); 198 base::TimeTicks now = timer_helper_->Now(); local 199 last_run_ = now; 205 now)); 211 base::TimeTicks now = timer_helper_->Now(); local 216 if (next_scheduled < now) { [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_service_impl.cc | 49 base::Time now = base::Time::Now(); local 52 int days = (now - last).InDays(); 315 // The Chrome AppListViewDelegate now needs its profile cleared, because:
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
H A D | multi_user_window_manager_chromeos_unittest.cc | 53 base::TimeTicks now = base::TimeTicks::Now(); local 56 ASSERT_GE(1000, (base::TimeTicks::Now() - now).InMilliseconds()); 294 // Assume that the user has now changed to C - which should show / hide 534 // Set the active window for user B now to be #2 580 // By now the hierarchy should have updated itself to show all windows of A 585 // Trying to show a hidden transient window shouldn't change anything for now.
|
/external/chromium_org/chrome/browser/ui/tab_contents/ |
H A D | core_tab_helper.cc | 159 base::TimeTicks now = base::TimeTicks::Now(); local 160 base::TimeDelta close_time = now - close_start_time_; 164 base::TimeTicks unload_end_time = now; 172 base::TimeTicks now = base::TimeTicks::Now(); local 176 UMA_HISTOGRAM_TIMES("Tab.Close", now - close_start_time_); 177 UMA_HISTOGRAM_TIMES("Tab.Close.UnloadTime", now - unload_start_time);
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | foreign_session_handler.cc | 222 base::Time now = base::Time::Now(); local 226 now < time ? base::TimeDelta() : now - time); 407 // ago, output "Just now".
|
H A D | new_tab_ui.cc | 154 base::TimeTicks now = base::TimeTicks::Now(); local 155 if ((now - last_paint_) >= base::TimeDelta::FromMilliseconds(kTimeoutMs)) {
|
/external/chromium_org/chrome/browser/web_resource/ |
H A D | promo_resource_service_unittest.cc | 155 // Views should be 0 for now. 269 const double now = base::Time::Now().ToDoubleT(); local 274 notification_promo_.start_ = now - qhour; 275 notification_promo_.end_ = now + qhour; 279 notification_promo_.start_ = now + qhour; 280 notification_promo_.end_ = now + qhour; 284 notification_promo_.start_ = now - qhour; 285 notification_promo_.end_ = now - qhour; 294 const double now = base::Time::Now().ToDoubleT(); local 302 notification_promo_.start_ = now [all...] |
/external/chromium_org/chrome/renderer/safe_browsing/ |
H A D | phishing_dom_feature_extractor_browsertest.cc | 415 base::TimeTicks now = base::TimeTicks::Now(); local 418 .WillOnce(Return(now)) 420 .WillOnce(Return(now)) 422 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(6))) 425 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(12))) 427 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(22))) 429 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(24))) 431 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(30))) 434 .WillOnce(Return(now + base::TimeDelta::FromMilliseconds(36))) 436 .WillOnce(Return(now 488 base::TimeTicks now = base::TimeTicks::Now(); local [all...] |
H A D | phishing_term_feature_extractor.cc | 144 // We failed to initialize the break iterator, so stop now. 161 base::TimeTicks now = clock_->Now(); local 162 if (now - state_->start_time >= 170 base::TimeDelta chunk_elapsed = now - current_chunk_start_time;
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
H A D | data_reduction_proxy_auth_request_handler.cc | 144 base::Time now = Now(); local 145 if (now - last_update_time_ > base::TimeDelta::FromHours(24)) { 146 last_update_time_ = now; 166 const base::Time& now, 172 (now - base::Time::UnixEpoch()).InMilliseconds() / 1000; 165 ComputeCredentials( const base::Time& now, std::string* session, std::string* credentials) argument
|
/external/chromium_org/components/domain_reliability/ |
H A D | monitor.cc | 100 base::Time now = base::Time::Now(); local 105 if (config && config->IsExpired(now)) { 141 // A request was just using the network, so now is a good time to run any
|