summaryrefslogtreecommitdiffstats
path: root/base/debug/trace_event_unittest.h
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 04:32:49 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-16 04:32:49 +0000
commite91ce809048b33f62569a01404b833d3aa9f15d0 (patch)
tree4e6be1ba994b3598dd3365f180bd2b16be39e9a0 /base/debug/trace_event_unittest.h
parent8a503d82ee9191362194a1337a44541caa34de07 (diff)
downloadchromium_src-e91ce809048b33f62569a01404b833d3aa9f15d0.zip
chromium_src-e91ce809048b33f62569a01404b833d3aa9f15d0.tar.gz
chromium_src-e91ce809048b33f62569a01404b833d3aa9f15d0.tar.bz2
Fix TraceEventTestFixture flakiness
BUG=142804 Review URL: https://chromiumcodereview.appspot.com/10828326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug/trace_event_unittest.h')
-rw-r--r--base/debug/trace_event_unittest.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/base/debug/trace_event_unittest.h b/base/debug/trace_event_unittest.h
new file mode 100644
index 0000000..3b570e1
--- /dev/null
+++ b/base/debug/trace_event_unittest.h
@@ -0,0 +1,14 @@
+// Copyright (c) 2012 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.
+
+#include "base/time.h"
+
+namespace base {
+namespace debug {
+
+// Sleep until HighResNow has advanced by at least |elapsed|.
+void HighResSleepForTraceTest(base::TimeDelta elapsed);
+
+} // namespace debug
+} // namespace base