From 5f6eee53a4ba6995b68a8ec6f22d3281529060c8 Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Tue, 2 Sep 2008 08:28:37 +0000 Subject: Cleanup some Windows TimeTicks functions. Move TickTicks::Now and TicksTicks::UnreliableHighResNow to Singletons, which cleans up the code and removes some possible unsafe cross-thread access. Move the Windows-specific rollover tests to time_unittests_win. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1633 0039d316-1c4b-4281-b951-d872f2087c98 --- base/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'base/time.h') diff --git a/base/time.h b/base/time.h index c25419f..17296e3 100644 --- a/base/time.h +++ b/base/time.h @@ -436,6 +436,7 @@ class TimeTicks { int64 ticks_; #if defined(OS_WIN) + public: // The function to use for counting ticks. typedef int (__stdcall *TickFunction)(void); static TickFunction tick_function_; -- cgit v1.1