Update V8 to version 4.7.24.
[chromium-blink-merge.git] / chromecast / base / metrics / grouped_histogram.h
blobb5202e621f1f5e467ac3a00164e55daa52415bd7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_BASE_METRICS_GROUPED_HISTOGRAM_H_
6 #define CHROMECAST_BASE_METRICS_GROUPED_HISTOGRAM_H_
8 #include <string>
10 namespace chromecast {
11 namespace metrics {
13 // Registers a predefined list of histograms to be collected per-app. Must be
14 // called before any histograms of the same name are used or registration will
15 // fail.
16 void PreregisterAllGroupedHistograms();
18 // Sets the current app name to be used for subsequent grouped histogram
19 // samples (a new metric is generated with the app name as a suffix).
20 void TagAppStartForGroupedHistograms(const std::string& app_name);
22 } // namespace metrics
23 } // namespace chromecast
25 #endif // CHROMECAST_BASE_METRICS_GROUPED_HISTOGRAM_H_