Index: media/base/scoped_histogram_timer_unittest.cc |
diff --git a/media/base/scoped_histogram_timer_unittest.cc b/media/base/scoped_histogram_timer_unittest.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..191a577dfac2849e930599e667cec7510e6cae94 |
--- /dev/null |
+++ b/media/base/scoped_histogram_timer_unittest.cc |
@@ -0,0 +1,16 @@ |
+// Copyright 2013 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" |
+#include "media/base/scoped_histogram_timer.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
+ |
+namespace media { |
+ |
+TEST(ScopedHistogramTimer, TwoTimersOneScope) { |
+ SCOPED_UMA_HISTOGRAM_TIMER("TestTimer0"); |
+ SCOPED_UMA_HISTOGRAM_TIMER("TestTimer1"); |
+} |
+ |
+} // namespace media |