Clock 18 base/test/simple_test_clock.h class SimpleTestClock : public Clock { Clock 9 base/time/clock.cc Clock::~Clock() {} Clock 28 base/time/clock.h class BASE_EXPORT Clock { Clock 30 base/time/clock.h virtual ~Clock(); Clock 15 base/time/default_clock.h class BASE_EXPORT DefaultClock : public Clock { Clock 87 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc base::Clock* clock) Clock 20 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h class Clock; Clock 50 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h SAMLOfflineSigninLimiter(Profile* profile, base::Clock* clock); Clock 65 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h base::Clock* clock_; Clock 16 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.cc base::Clock* SAMLOfflineSigninLimiterFactory::clock_for_testing_ = NULL; Clock 32 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.cc void SAMLOfflineSigninLimiterFactory::SetClockForTesting(base::Clock* clock) { Clock 16 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h class Clock; Clock 34 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h static void SetClockForTesting(base::Clock* clock); Clock 46 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_factory.h static base::Clock* clock_for_testing_; Clock 23 chrome/browser/extensions/activity_log/activity_database.h class Clock; Clock 38 chrome/browser/extensions/activity_log/activity_log_policy.cc void ActivityLogPolicy::SetClockForTesting(scoped_ptr<base::Clock> clock) { Clock 80 chrome/browser/extensions/activity_log/activity_log_policy.h void SetClockForTesting(scoped_ptr<base::Clock> clock); Clock 144 chrome/browser/extensions/activity_log/activity_log_policy.h scoped_ptr<base::Clock> testing_clock_; Clock 312 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 494 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 551 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 708 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 775 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 831 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 954 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 997 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 1074 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 1139 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 1235 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 237 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 584 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 630 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 683 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 726 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 802 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); Clock 215 chrome/browser/extensions/api/alarms/alarm_manager.cc void AlarmManager::SetClockForTesting(base::Clock* clock) { Clock 25 chrome/browser/extensions/api/alarms/alarm_manager.h class Clock; Clock 112 chrome/browser/extensions/api/alarms/alarm_manager.h void SetClockForTesting(base::Clock* clock); Clock 218 chrome/browser/extensions/api/alarms/alarm_manager.h scoped_ptr<base::Clock> clock_; Clock 94 chrome/browser/extensions/api/alarms/alarms_api.cc AlarmsCreateFunction::AlarmsCreateFunction(base::Clock* clock) Clock 13 chrome/browser/extensions/api/alarms/alarms_api.h class Clock; Clock 25 chrome/browser/extensions/api/alarms/alarms_api.h explicit AlarmsCreateFunction(base::Clock* clock); Clock 35 chrome/browser/extensions/api/alarms/alarms_api.h base::Clock* const clock_; Clock 138 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const base::TimeTicks now = cast_env()->Clock()->NowTicks(); Clock 174 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_tone_ = cast_env()->Clock()->NowTicks(); Clock 214 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc first_time_near_target_color_ = cast_env()->Clock()->NowTicks(); Clock 437 chrome/browser/performance_monitor/database.cc clock_ = scoped_ptr<Clock>(new SystemClock()); Clock 111 chrome/browser/performance_monitor/database.h class Clock { Clock 113 chrome/browser/performance_monitor/database.h Clock() {} Clock 114 chrome/browser/performance_monitor/database.h virtual ~Clock() {} Clock 234 chrome/browser/performance_monitor/database.h void set_clock(scoped_ptr<Clock> clock) { Clock 245 chrome/browser/performance_monitor/database.h class SystemClock : public Clock { Clock 297 chrome/browser/performance_monitor/database.h scoped_ptr<Clock> clock_; Clock 83 chrome/browser/performance_monitor/database_unittest.cc class TestingClock : public Database::Clock { Clock 106 chrome/browser/performance_monitor/database_unittest.cc db_->set_clock(scoped_ptr<Database::Clock>(clock_)); Clock 123 chrome/browser/performance_monitor/database_unittest.cc Database::Clock* clock_; Clock 158 chrome/browser/performance_monitor/database_unittest.cc db_->set_clock(scoped_ptr<Database::Clock>(clock_)); Clock 183 chrome/browser/performance_monitor/database_unittest.cc Database::Clock* clock_; Clock 206 chrome/browser/performance_monitor/database_unittest.cc db_1->set_clock(scoped_ptr<Database::Clock>(clock_1)); Clock 215 chrome/browser/performance_monitor/database_unittest.cc db_2->set_clock(scoped_ptr<Database::Clock>(clock_2)); Clock 224 chrome/browser/performance_monitor/database_unittest.cc db_3->set_clock(scoped_ptr<Database::Clock>(clock_3)); Clock 244 chrome/browser/performance_monitor/database_unittest.cc db->set_clock(scoped_ptr<Database::Clock>(clock)); Clock 265 chrome/browser/performance_monitor/database_unittest.cc db->set_clock(scoped_ptr<Database::Clock>(clock)); Clock 404 chrome/browser/performance_monitor/database_unittest.cc db->set_clock(scoped_ptr<Database::Clock>(new TestingClock())); Clock 37 chrome/browser/policy/cloud/cloud_policy_invalidator.cc scoped_ptr<base::Clock> clock) Clock 23 chrome/browser/policy/cloud/cloud_policy_invalidator.h class Clock; Clock 59 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<base::Clock> clock); Clock 150 chrome/browser/policy/cloud/cloud_policy_invalidator.h scoped_ptr<base::Clock> clock_; Clock 237 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc scoped_ptr<base::Clock>(clock_))); Clock 24 chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc scoped_ptr<base::Clock>(new base::DefaultClock())), Clock 238 google_apis/gcm/base/mcs_util.cc base::Clock* clock) { Clock 20 google_apis/gcm/base/mcs_util.h class Clock; Clock 89 google_apis/gcm/base/mcs_util.h base::Clock* clock); Clock 148 google_apis/gcm/engine/mcs_client.cc base::Clock* clock, Clock 23 google_apis/gcm/engine/mcs_client.h class Clock; Clock 90 google_apis/gcm/engine/mcs_client.h base::Clock* clock, Clock 197 google_apis/gcm/engine/mcs_client.h base::Clock* const clock_; Clock 67 google_apis/gcm/engine/mcs_client_unittest.cc TestMCSClient(base::Clock* clock, Clock 124 google_apis/gcm/gcm_client_impl.cc scoped_ptr<base::Clock> GCMInternalsBuilder::BuildClock() { Clock 125 google_apis/gcm/gcm_client_impl.cc return make_scoped_ptr<base::Clock>(new base::DefaultClock()); Clock 137 google_apis/gcm/gcm_client_impl.cc base::Clock* clock, Clock 29 google_apis/gcm/gcm_client_impl.h class Clock; Clock 50 google_apis/gcm/gcm_client_impl.h virtual scoped_ptr<base::Clock> BuildClock(); Clock 56 google_apis/gcm/gcm_client_impl.h base::Clock* clock, Clock 228 google_apis/gcm/gcm_client_impl.h scoped_ptr<base::Clock> clock_; Clock 68 google_apis/gcm/gcm_client_impl_unittest.cc FakeMCSClient(base::Clock* clock, Clock 89 google_apis/gcm/gcm_client_impl_unittest.cc FakeMCSClient::FakeMCSClient(base::Clock* clock, Clock 120 google_apis/gcm/gcm_client_impl_unittest.cc virtual scoped_ptr<base::Clock> BuildClock() OVERRIDE; Clock 127 google_apis/gcm/gcm_client_impl_unittest.cc base::Clock* clock, Clock 141 google_apis/gcm/gcm_client_impl_unittest.cc scoped_ptr<base::Clock> FakeGCMInternalsBuilder::BuildClock() { Clock 142 google_apis/gcm/gcm_client_impl_unittest.cc return make_scoped_ptr<base::Clock>(new base::SimpleTestClock()); Clock 157 google_apis/gcm/gcm_client_impl_unittest.cc base::Clock* clock, Clock 219 media/base/android/media_source_player.h Clock clock_; Clock 15 media/base/clock.cc Clock::Clock(base::TickClock* clock) : clock_(clock) { Clock 20 media/base/clock.cc Clock::~Clock() {} Clock 22 media/base/clock.cc bool Clock::IsPlaying() const { Clock 26 media/base/clock.cc base::TimeDelta Clock::Play() { Clock 33 media/base/clock.cc base::TimeDelta Clock::Pause() { Clock 40 media/base/clock.cc void Clock::SetPlaybackRate(float playback_rate) { Clock 45 media/base/clock.cc void Clock::SetTime(base::TimeDelta current_time, base::TimeDelta max_time) { Clock 54 media/base/clock.cc base::TimeDelta Clock::Elapsed() { Clock 72 media/base/clock.cc void Clock::SetMaxTime(base::TimeDelta max_time) { Clock 83 media/base/clock.cc void Clock::SetDuration(base::TimeDelta duration) { Clock 92 media/base/clock.cc base::TimeDelta Clock::ElapsedViaProvidedTime( Clock 100 media/base/clock.cc base::TimeDelta Clock::ClampToValidTimeRange(base::TimeDelta time) const { Clock 106 media/base/clock.cc void Clock::EndOfStream() { Clock 111 media/base/clock.cc base::TimeDelta Clock::Duration() const { Clock 117 media/base/clock.cc void Clock::UpdateReferencePoints() { Clock 121 media/base/clock.cc void Clock::UpdateReferencePoints(base::TimeDelta current_time) { Clock 126 media/base/clock.cc base::TimeDelta Clock::EstimatedElapsedTime() { Clock 130 media/base/clock.cc void Clock::Reset() { Clock 34 media/base/clock.h class MEDIA_EXPORT Clock { Clock 36 media/base/clock.h explicit Clock(base::TickClock* clock); Clock 37 media/base/clock.h ~Clock(); Clock 126 media/base/clock.h DISALLOW_COPY_AND_ASSIGN(Clock); Clock 50 media/base/clock_unittest.cc Clock clock_; Clock 45 media/base/pipeline.cc clock_(new Clock(&default_tick_clock_)), Clock 204 media/base/pipeline.cc void Pipeline::SetClockForTesting(Clock* clock) { Clock 30 media/base/pipeline.h class Clock; Clock 183 media/base/pipeline.h void SetClockForTesting(Clock* clock); Clock 375 media/base/pipeline.h scoped_ptr<Clock> clock_; Clock 699 media/base/pipeline_unittest.cc pipeline_->SetClockForTesting(new Clock(&test_tick_clock_)); Clock 24 media/cast/audio_receiver/audio_receiver.cc : RtpReceiver(cast_environment->Clock(), &audio_config, NULL), Clock 30 media/cast/audio_receiver/audio_receiver.cc framer_(cast_environment->Clock(), Clock 82 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 159 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks now = cast_environment->Clock()->NowTicks(); Clock 196 media/cast/audio_receiver/audio_receiver.cc const base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 268 media/cast/audio_receiver/audio_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 340 media/cast/audio_receiver/audio_receiver.cc cast_environment_->Clock()->NowTicks(); Clock 366 media/cast/audio_receiver/audio_receiver.cc send_time - cast_environment_->Clock()->NowTicks(); Clock 102 media/cast/audio_sender/audio_encoder.cc cast_environment_->Clock()->NowTicks(), Clock 114 media/cast/audio_sender/audio_encoder.cc cast_environment_->Clock()->NowTicks(), Clock 111 media/cast/audio_sender/audio_sender.cc rtcp_.TimeToSendNextRtcpReport() - cast_environment_->Clock()->NowTicks(); Clock 135 media/cast/audio_sender/audio_sender.cc rtp_stats_.UpdateInfo(cast_environment_->Clock()->NowTicks()); Clock 57 media/cast/cast_environment.h base::TickClock* Clock() const { return clock_.get(); } Clock 88 media/cast/cast_receiver_impl.cc : pacer_(cast_environment->Clock(), Clock 146 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 237 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 295 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 325 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 337 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 395 media/cast/rtcp/rtcp.cc cast_environment_->Clock()->NowTicks() - it->second; Clock 452 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 484 media/cast/rtcp/rtcp.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 238 media/cast/rtcp/rtcp_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 460 media/cast/rtcp/rtcp_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 488 media/cast/test/sender.cc cast_environment->Clock(), Clock 517 media/cast/test/sender.cc cast_environment->Clock(), Clock 132 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc cast_environment_->Clock()->NowTicks(), Clock 52 media/cast/video_receiver/video_receiver.cc : RtpReceiver(cast_environment->Clock(), NULL, &video_config), Clock 73 media/cast/video_receiver/video_receiver.cc framer_.reset(new Framer(cast_environment->Clock(), Clock 215 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 382 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 444 media/cast/video_receiver/video_receiver.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 463 media/cast/video_receiver/video_receiver.cc send_time - cast_environment_->Clock()->NowTicks(); Clock 484 media/cast/video_receiver/video_receiver.cc cast_environment_->Clock()->NowTicks(); Clock 248 media/cast/video_sender/external_video_encoder.cc cast_environment_->Clock()->NowTicks(), Clock 401 media/cast/video_sender/external_video_encoder.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 114 media/cast/video_sender/video_encoder_impl.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 66 media/cast/video_sender/video_sender.cc congestion_control_(cast_environment->Clock(), Clock 140 media/cast/video_sender/video_sender.cc cast_environment_->Clock()->NowTicks(), Clock 164 media/cast/video_sender/video_sender.cc last_send_time_ = cast_environment_->Clock()->NowTicks(); Clock 199 media/cast/video_sender/video_sender.cc cast_environment_->Clock()->NowTicks(); Clock 258 media/cast/video_sender/video_sender.cc rtp_stats_.UpdateInfo(cast_environment_->Clock()->NowTicks()); Clock 273 media/cast/video_sender/video_sender.cc time_to_next = last_send_time_ - cast_environment_->Clock()->NowTicks() + Clock 290 media/cast/video_sender/video_sender.cc cast_environment_->Clock()->NowTicks() - last_send_time_; Clock 316 media/cast/video_sender/video_sender.cc last_checked_skip_count_time_ - cast_environment_->Clock()->NowTicks() + Clock 337 media/cast/video_sender/video_sender.cc last_checked_skip_count_time_ = cast_environment_->Clock()->NowTicks(); Clock 347 media/cast/video_sender/video_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 416 media/cast/video_sender/video_sender.cc base::TimeTicks now = cast_environment_->Clock()->NowTicks(); Clock 458 media/cast/video_sender/video_sender.cc last_send_time_ = cast_environment_->Clock()->NowTicks(); Clock 129 media/filters/pipeline_integration_test_base.cc pipeline_->SetClockForTesting(new Clock(&dummy_clock_)); Clock 26 ppapi/tests/test_trace_event.cc RUN_TEST(Clock, filter);