diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 21:50:34 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 21:50:34 +0000 |
commit | 0cb3d72e44bbca50104f8a79acdff5c6344278b8 (patch) | |
tree | a79b35e3eb8c1c705268ae173fc9caa00bf47e8b /base/base.gyp | |
parent | 4d805b5db89c08532633e9fcacdc4df0828fe1fe (diff) | |
download | chromium_src-0cb3d72e44bbca50104f8a79acdff5c6344278b8.zip chromium_src-0cb3d72e44bbca50104f8a79acdff5c6344278b8.tar.gz chromium_src-0cb3d72e44bbca50104f8a79acdff5c6344278b8.tar.bz2 |
Add a Clock and TickClock interface for mocking out time
Add DefaultClock and DefaultTickClock implementations.
Add SimpleTestClock and SimpleTestTickClock implementations for test.
Port some classes in sync/ and media/ to use SimpleTest{,Tick}Clock.
BUG=166469
Review URL: https://codereview.chromium.org/11607003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index 2c1ecc7..7c63ec2 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -834,6 +834,10 @@ 'test/scoped_path_override.h', 'test/sequenced_task_runner_test_template.cc', 'test/sequenced_task_runner_test_template.h', + 'test/simple_test_clock.cc', + 'test/simple_test_clock.h', + 'test/simple_test_tick_clock.cc', + 'test/simple_test_tick_clock.h', 'test/task_runner_test_template.cc', 'test/task_runner_test_template.h', 'test/test_file_util.h', |