Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2663)

Unified Diff: base/test/mock_time_provider.h

Issue 11607003: Add a Clock and TickClock interface for mocking out time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix warnings Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gypi ('k') | base/test/simple_test_clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/mock_time_provider.h
diff --git a/base/test/mock_time_provider.h b/base/test/mock_time_provider.h
index 81240f74928a2c3b61368b115ae32d821ed83381..b4932099a1f5fc7c48b4c0690299022ad28ad896 100644
--- a/base/test/mock_time_provider.h
+++ b/base/test/mock_time_provider.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// TODO(akalin): Change all users of this class to use SimpleTestClock
+// or SimpleTestTickClock and remove this class.
+
// A helper class used to mock out calls to the static method base::Time::Now.
//
// Example usage:
« no previous file with comments | « base/base.gypi ('k') | base/test/simple_test_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698