chrome/browser/intents/web_intents_reporting.cc
// UMA bucket range for custom histograms.
//
// TODO(rouslan): Remove this once we've migrated to sparse histograms. See
// http://crbug.com/153891 before changing anything.
UMA bucket range for custom histograms.
TODO(rouslan): Remove this once we've migrated to sparse histograms.
UMA bucket range for custom histograms . TODO ( rouslan ) : Remove this once we ' ve migrated to sparse histograms .
std::vector<int> GetUmaBucketsCustomRange() {
  const int kNumActions = 7;
  const int kNumTypes = 10;
  std::vector<int> range;
  for (int i = 1; i <= kNumActions; i++) {
    for (int j = 1; j <= kNumTypes; j++) {
      range.push_back(i << 8 | j);
    }
  }
  return range;
}
std :: vector < int > GetUmaBucketsCustomRange ( ) { const int kNumActions = 7 ; const int kNumTypes = 10 ; std :: vector < int > range ; for ( int i = 1 ; i <= kNumActions ; i ++ ) { for ( int j = 1 ; j <= kNumTypes ; j ++ ) { range . push_back ( i << 8 | j ) ; } } return range ; }
UMA bucket range for custom histograms.
UMA bucket range for custom histograms .
// Please update these numbers if you add more actions or types.