Home
last modified time | relevance | path

Searched refs:FromHours (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/common/
Dtime_format_unittest.cc50 const TimeDelta one_hour = TimeDelta::FromHours(1); in TEST()
51 const TimeDelta four_hours = TimeDelta::FromHours(4); in TEST()
/external/chromium/base/
Dtime_unittest.cc173 EXPECT_TRUE(TimeDelta::FromDays(2) == TimeDelta::FromHours(48)); in TEST()
174 EXPECT_TRUE(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180)); in TEST()
180 EXPECT_EQ(13, TimeDelta::FromHours(13).InHours()); in TEST()
Dtime.h59 static TimeDelta FromHours(int64 hours);
423 inline TimeDelta TimeDelta::FromHours(int64 hours) { in FromHours() function
/external/chromium/chrome/browser/
Dbrowsing_data_remover.cc288 diff = base::TimeDelta::FromHours(1); in CalculateBeginDeleteTime()
291 diff = base::TimeDelta::FromHours(24); in CalculateBeginDeleteTime()
294 diff = base::TimeDelta::FromHours(7*24); in CalculateBeginDeleteTime()
297 diff = base::TimeDelta::FromHours(4*7*24); in CalculateBeginDeleteTime()
Dbrowser_main_win.cc83 base::TimeDelta::FromHours(24).InMillisecondsRoundedUp()); in Track()
Dbrowser_process_impl.cc653 base::TimeDelta::FromHours(kUpdateCheckIntervalHours), in StartAutoupdateTimer()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_html_writer_unittest.cc188 base::Time t2(t1 + base::TimeDelta::FromHours(1)); in TEST_F()
189 base::Time t3(t1 + base::TimeDelta::FromHours(1)); in TEST_F()
190 base::Time t4(t1 + base::TimeDelta::FromHours(1)); in TEST_F()
/external/chromium/chrome/browser/instant/
Dpromo_counter_unittest.cc19 ASSERT_TRUE(counter.ShouldShow(test_time + base::TimeDelta::FromHours(2))); in TEST_F()
/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_service_unittest.cc116 base::TimeDelta::FromHours(1); in TestCache()
283 base::TimeDelta twenty_five_hours = base::TimeDelta::FromHours(25); in TEST_F()
/external/chromium/chrome/browser/chromeos/status/
Dpower_menu_button.cc80 int min = (time - base::TimeDelta::FromHours(hour)).InMinutes(); in GetLabelAt()
/external/chromium/chrome/browser/sync/syncable/
Dmodel_type.cc348 base::TimeDelta::FromHours(1), 50)
/external/chromium/chrome/browser/extensions/
Dextensions_quota_service_unittest.cc22 static const Config k20PerHour = { 20, TimeDelta::FromHours(1) };
Dextension_prefs_unittest.cc114 : extension_time_(Time::Now() - TimeDelta::FromHours(4)), in ExtensionPrefsLastPingDay()
115 blacklist_time_(Time::Now() - TimeDelta::FromHours(2)) {} in ExtensionPrefsLastPingDay()
Dextension_bookmarks_module.cc792 TimeDelta::FromHours(1) // 1 hour long refill interval.
/external/chromium/base/metrics/
Dhistogram.h184 base::TimeDelta::FromHours(1), 50)
/external/chromium/chrome/browser/sessions/
Dsession_service.cc138 save_delay_in_hrs_(base::TimeDelta::FromHours(8)) { in SessionService()
148 save_delay_in_hrs_(base::TimeDelta::FromHours(8)) { in SessionService()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_browsertest.cc327 Time t = Time::Now() - TimeDelta::FromHours(i + 1); in SetupHistory()
838 AddHistoryEntry(kHistoryFoobar, Time::Now() - TimeDelta::FromHours(1))); in AcceptKeywordBySpaceTest()
/external/chromium/chrome/browser/net/
Dpredictor.cc49 const TimeDelta Predictor::kDurationBetweenTrimmings = TimeDelta::FromHours(1);
/external/chromium/net/base/
Dhost_resolver_impl.cc342 base::TimeDelta::FromMicroseconds(1), base::TimeDelta::FromHours(1), 100)
/external/chromium/net/http/
Dhttp_cache_unittest.cc4853 base::Time request_time = base::Time() + base::TimeDelta::FromHours(1234); in TEST()
4854 base::Time response_time = base::Time() + base::TimeDelta::FromHours(1235); in TEST()