Index: chromecast/base/metrics/cast_metrics_test_helper.h |
diff --git a/chromecast/base/metrics/cast_metrics_test_helper.h b/chromecast/base/metrics/cast_metrics_test_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a1eafed29cd21eee17ea5da7486149d62ebe50aa |
--- /dev/null |
+++ b/chromecast/base/metrics/cast_metrics_test_helper.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2014 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. |
+ |
+#ifndef CHROMECAST_BASE_METRICS_CAST_METRICS_TEST_HELPER_H_ |
+#define CHROMECAST_BASE_METRICS_CAST_METRICS_TEST_HELPER_H_ |
+ |
+namespace chromecast { |
+namespace metrics { |
+ |
+// Creates and initializes a metrics helper stub for the current process, in |
+// which all operations are no-ops. May be safely called multiple times per |
+// process. |
+void InitializeMetricsHelperForTesting(); |
+ |
+} // namespace metrics |
+} // namespace chromecast |
+ |
+#endif // CHROMECAST_BASE_METRICS_CAST_METRICS_TEST_HELPER_H_ |