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

Unified Diff: base/test/simple_test_tick_clock.h

Issue 12314056: Make chrome/browser/extensions use base::Clock instead of MockTimeProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add include 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/test/simple_test_clock.cc ('k') | chrome/browser/extensions/api/alarms/alarm_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/simple_test_tick_clock.h
diff --git a/base/test/simple_test_tick_clock.h b/base/test/simple_test_tick_clock.h
index c53301b397379fa13f1d0d49a8f128e5961c3d1e..2809774b376ee8951a4d625a77bc30bdb7debdec 100644
--- a/base/test/simple_test_tick_clock.h
+++ b/base/test/simple_test_tick_clock.h
@@ -13,7 +13,7 @@
namespace base {
// SimpleTestTickClock is a TickClock implementation that gives
-// control over the returned TimeTicks objects. All methods can be
+// control over the returned TimeTicks objects. All methods may be
// called from any thread.
class SimpleTestTickClock : public TickClock {
public:
@@ -23,8 +23,7 @@ class SimpleTestTickClock : public TickClock {
virtual TimeTicks NowTicks() OVERRIDE;
- // Sets the current time forward by |delta|. Safe to call from any
- // thread.
+ // Advances the clock by |delta|, which must not be negative.
void Advance(TimeDelta delta);
private:
« no previous file with comments | « base/test/simple_test_clock.cc ('k') | chrome/browser/extensions/api/alarms/alarm_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698