HomeSort by relevance Sort by last modified time
    Searched refs:test_clock_ (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/chrome/browser/extensions/api/alarms/
alarms_api_unittest.cc 57 test_clock_ = new base::SimpleTestClock();
59 alarm_manager_->SetClockForTesting(test_clock_);
67 test_clock_->SetNow(base::Time::FromDoubleT(10));
71 RunFunction(new AlarmsCreateFunction(test_clock_), args);
102 new AlarmsCreateFunction(test_clock_), kCreateArgs[i]));
107 base::SimpleTestClock* test_clock_; member in class:extensions::ExtensionAlarmsTest
138 test_clock_->SetNow(base::Time::FromDoubleT(10));
154 test->test_clock_->Advance(base::TimeDelta::FromSeconds(1));
159 test->test_clock_->Advance(base::TimeDelta::FromSeconds(1));
169 test_clock_->SetNow(base::Time::FromDoubleT(10))
    [all...]
  /external/chromium_org/components/search_provider_logos/
logo_tracker_unittest.cc 299 test_clock_(new base::SimpleTestClock()),
302 test_clock_->SetNow(base::Time::FromJsTime(GG_INT64_C(1388686828000)));
312 logo_tracker_->SetClockForTests(scoped_ptr<base::Clock>(test_clock_));
348 base::SimpleTestClock* test_clock_; member in class:search_provider_logos::__anon11182::LogoTrackerTest
358 time_to_live = logo.metadata.expiration_time - test_clock_->Now();
389 Logo logo = GetSampleLogo(logo_url_, test_clock_->Now());
430 Logo cached_logo = GetSampleLogo(logo_url_, test_clock_->Now());
445 Logo cached_logo = GetSampleLogo(logo_url_, test_clock_->Now());
451 test_clock_->Now() + base::TimeDelta::FromDays(8);
468 Logo cached_logo = GetSampleLogo(logo_url_, test_clock_->Now())
    [all...]

Completed in 111 milliseconds