chrome/browser/intents/web_intents_reporting.cc
// Records the number of services installed at the time the picker
// is shown to the user. Drops the size into one of several buckets.
Records the number of services installed at the time the picker
is shown to the user. Drops the size into one of several buckets.
Records the number of services installed at the time the picker is shown to the user . Drops the size into one of several buckets .
void RecordInstalledServiceCount(const UMABucket bucket, size_t installed) {
  if (installed == 0) {
    UMA_HISTOGRAM_CUSTOM_ENUMERATION("WebIntents.Service.NumInstalled.0.v0",
        bucket, GetUmaBucketsCustomRange());
  } else if (installed >= 1 && installed <= 4) {
    UMA_HISTOGRAM_CUSTOM_ENUMERATION("WebIntents.Service.NumInstalled.1-4.v0",
        bucket, GetUmaBucketsCustomRange());
  } else if (installed >= 5 && installed <= 8) {
    UMA_HISTOGRAM_CUSTOM_ENUMERATION("WebIntents.Service.NumInstalled.5-8.v0",
        bucket, GetUmaBucketsCustomRange());
  } else {
    UMA_HISTOGRAM_CUSTOM_ENUMERATION("WebIntents.Service.NumInstalled.9+.v0",
        bucket, GetUmaBucketsCustomRange());
  }
}
void RecordInstalledServiceCount ( const UMABucket bucket , size_t installed ) { if ( installed == 0 ) { UMA_HISTOGRAM_CUSTOM_ENUMERATION ( " " , bucket , GetUmaBucketsCustomRange ( ) ) ; } else if ( installed >= 1 && installed <= 4 ) { UMA_HISTOGRAM_CUSTOM_ENUMERATION ( " " , bucket , GetUmaBucketsCustomRange ( ) ) ; } else if ( installed >= 5 && installed <= 8 ) { UMA_HISTOGRAM_CUSTOM_ENUMERATION ( " " , bucket , GetUmaBucketsCustomRange ( ) ) ; } else { UMA_HISTOGRAM_CUSTOM_ENUMERATION ( " " , bucket , GetUmaBucketsCustomRange ( ) ) ; } }
Records the number of services installed at the time the picker
is shown to the user.
Records the number of services installed at the time the picker is shown to the user .