diff options
Diffstat (limited to 'chromecast/base/metrics/cast_metrics_test_helper.h')
-rw-r--r-- | chromecast/base/metrics/cast_metrics_test_helper.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 0000000..a1eafed --- /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_ |