summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/util/highres_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/util/highres_timer.h')
-rw-r--r--chrome/browser/sync/util/highres_timer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/sync/util/highres_timer.h b/chrome/browser/sync/util/highres_timer.h
new file mode 100644
index 0000000..e2bde4e
--- /dev/null
+++ b/chrome/browser/sync/util/highres_timer.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// High resolution timer functions defined for each OS.
+
+#if defined(OS_WINDOWS)
+#include "chrome/browser/sync/util/highres_timer-win32.h"
+#elif defined(OS_MACOSX)
+#error "Mac timer functions are missing."
+#else
+#include "chrome/browser/sync/util/highres_timer-linux.h"
+#endif