Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: chromecast/base/metrics/cast_metrics_test_helper.h

Issue 652353003: Chromecast: adds class to help record complex histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resets initial buffering state on flush Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/base/metrics/cast_metrics_helper.cc ('k') | chromecast/base/metrics/cast_metrics_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chromecast/base/metrics/cast_metrics_helper.cc ('k') | chromecast/base/metrics/cast_metrics_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698