summaryrefslogtreecommitdiffstats
path: root/base/time.h
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-02 08:28:37 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-02 08:28:37 +0000
commit5f6eee53a4ba6995b68a8ec6f22d3281529060c8 (patch)
tree1464c7ca7fdaaa3b7f387da90db9667988c1f25d /base/time.h
parent38f70a3e2ade7049c09831ed8f5b8ea90d9e68d6 (diff)
downloadchromium_src-5f6eee53a4ba6995b68a8ec6f22d3281529060c8.zip
chromium_src-5f6eee53a4ba6995b68a8ec6f22d3281529060c8.tar.gz
chromium_src-5f6eee53a4ba6995b68a8ec6f22d3281529060c8.tar.bz2
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
Diffstat (limited to 'base/time.h')
-rw-r--r--base/time.h1
1 files changed, 1 insertions, 0 deletions
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_;